MCP8022 BLDC Motor Driver Development Board User's Guide 2022 Microchip Technology Inc. and its subsidiaries DS50003171A Note the following details of the code protection feature on Microchip products: · Microchip products meet the specifications contained in their particular Microchip Data Sheet. · Microchip believes that its family of products is secure when used in the intended manner, within operating specifications, and under normal conditions. · Microchip values and aggressively protects its intellectual property rights. Attempts to breach the code protection features of Microchip product is strictly prohibited and may violate the Digital Millennium Copyright Act. · Neither Microchip nor any other semiconductor manufacturer can guarantee the security of its code. Code protection does not mean that we are guaranteeing the product is "unbreakable". Code protection is constantly evolving. Microchip is committed to continuously improving the code protection features of our products. This publication and the information herein may be used only with Microchip products, including to design, test, and integrate Microchip products with your application. Use of this information in any other manner violates these terms. Information regarding device applications 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. Contact your local Microchip sales office for additional support or, obtain additional support at https:// www.microchip.com/en-us/support/design-help/client-supportservices. THIS INFORMATION IS PROVIDED BY MICROCHIP "AS IS". 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 ANY IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE, OR WARRANTIES RELATED TO ITS CONDITION, QUALITY, OR PERFORMANCE. IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL LOSS, DAMAGE, COST, OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE INFORMATION OR ITS USE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THE INFORMATION OR ITS USE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THE INFORMATION. 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 unless otherwise stated. For information regarding Microchip's Quality Management Systems, please visit www.microchip.com/quality. Trademarks The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, CryptoMemory, CryptoRF, dsPIC, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. AgileSwitch, APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, Flashtec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, QuietWire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, TrueTime, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A. Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, Augmented Switching, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, Espresso T1S, EtherGREEN, GridTime, IdealBridge, In-Circuit Serial Programming, ICSP, INICnet, Intelligent Paralleling, Inter-Chip Connectivity, JitterBlocker, Knob-on-Display, maxCrypto, maxView, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, NVM Express, NVMe, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, RTAX, RTG4, SAM-ICE, Serial Quad I/O, simpleMAP, SimpliPHY, SmartBuffer, SmartHLS, SMART-I.S., storClad, SQI, SuperSwitcher, SuperSwitcher II, Switchtec, SynchroPHY, Total Endurance, TSHARC, USBCheck, VariSense, VectorBlox, VeriPHY, ViewSpan, WiperLock, XpressConnect, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. The Adaptec logo, Frequency on Demand, Silicon Storage Technology, Symmcom, and Trusted Time are registered trademarks of Microchip Technology Inc. in other countries. GestIC is a registered trademark 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. © 2022, Microchip Technology Incorporated and its subsidiaries. All Rights Reserved. ISBN: 978-1-6683-1216-2 DS50003171A-page 2 2022 Microchip Technology Inc. and its subsidiaries MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER GUIDE Table of Contents Preface ........................................................................................................................... 4 Introduction............................................................................................................ 4 Document Layout .................................................................................................. 4 Conventions Used in this Guide ............................................................................ 5 Recommended Reading........................................................................................ 6 The Microchip Website.......................................................................................... 6 Customer Support ................................................................................................. 6 Document Revision History ................................................................................... 6 Chapter 1. Product Overview 1.1 Introduction ..................................................................................................... 8 1.2 MCP8022 Device Overview ........................................................................... 8 1.3 MCP8022 BLDC Motor Driver Development Board Key Features ................. 8 1.4 What Does the MCP8022 BLDC Motor Driver Development Kit Include? ..... 9 Chapter 2. Installation and Operation 2.1 Getting Started ............................................................................................. 10 2.2 Features ....................................................................................................... 10 2.3 Board Description ......................................................................................... 11 2.4 Schematic Description .................................................................................. 15 Chapter 3. Application Hints 3.1 VBOOT Capacitor Precharge ....................................................................... 18 3.2 Bootstrap Capacitor Precharge .................................................................... 19 Chapter 4. Software 4.1 Software Architecture ................................................................................... 20 4.2 Microchip MPLAB Code Configurator MCC ................................................. 20 4.3 X2C - Rapid Prototyping (Model-Based Software Design) ........................... 22 Appendix A. Schematic and Layouts A.1 Introduction .................................................................................................. 26 A.2 Board Schematic ....................................................................................... 27 A.3 Board Top Silk .......................................................................................... 28 A.4 Board Top Copper .................................................................................... 28 A.5 Board Mid-Layer 1 ..................................................................................... 29 A.6 Board Mid-Layer 2 29 A.7 Board Bottom Copper ............................................................................... 30 A.8 Board 3D Top View ................................................................................... 30 A.7 Board 3D Bottom View ............................................................................. 31 Appendix B. Bill of Materials (BOM)........................................................................... 32 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 3 MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER 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 website (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 "DSXXXXXA", where "XXXXX" is the document number and "A" is the revision level of the document. For the most up-to-date information on development tools, see the MPLAB® IDE 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 MCP8022. Items discussed in this chapter include: · Document Layout · Conventions Used in this Guide · Recommended Reading · Preface · Customer Support · Preface DOCUMENT LAYOUT This document describes how to use the MCP8022 as a development tool. The manual layout is as follows: · Chapter 1. "Product Overview" Important information about the MCP8022. · Chapter 2. "Installation and Operation" Includes instructions on how to get started with this reference design and a description of the reference design. · Chapter 3. "Application Hints" This chapter gives important hints about the operation of the MCP8022 · Chapter 4. "Software" - This chapter explains the software architecture · Appendix A. "Schematic and Layouts" Shows the schematic and layout diagrams for the MCP8022. · Appendix B. "Bill of Materials (BOM)" Lists the parts used to build the MCP8022. 2022 Microchip Technology Inc. DS50003171A-page 4 Preface CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Represents Examples Arial font: Italic characters Initial caps Quotes Underlined, italic text with right angle bracket Bold characters N`Rnnnn Text in angle brackets < > Courier New font: Plain Courier New Italic Courier New Square brackets [ ] Curly brackets and pipe character: { | } Ellipses... Referenced books Emphasized text A window A dialog A menu selection A field name in a window or dialog A menu path MPLAB® IDE User's Guide ...is the only compiler... the Output window the Settings dialog select Enable Programmer "Save project before build" File>Save A dialog button A tab A number in verilog format, where N is the total number of digits, R is the radix and n is a digit. A key on the keyboard Click OK Click the Power tab 4`b0010, 2`hF1 Press <Enter>, <F1> Sample source code Filenames File paths Keywords Command-line options Bit values Constants A variable argument Optional arguments Choice of mutually exclusive arguments; an OR selection Replaces repeated text Represents code supplied by user #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, 1 0xFF, `A' file.o, where file can be any valid filename mcc18 [options] file [options] errorlevel {0|1} var_name [, var_name...] void main (void) { ... } 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 5 MCP8022 BLDC Motor Driver Development Board User Guide RECOMMENDED READING This reference design describes how to use the MCP8022. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources. · MCP8021/2 - "3-Phase Brushless DC (BLDC) Motor Gate Driver with Power Module, Sleep Mode, Opamps" (DS20006265) - This data sheet provides detailed information regarding the MCP8021/2 product family. · dsPIC33CK256MP508 Family- "28/36/48/64/80-Pin, 16-Bit Digital Signal Controllers with High-Resolution PWM and CAN Flexible Data (CAN FD)" (DS70005349G) - This data sheet provides detailed information regarding the dsPIC33CK product family. · AN1078 - "Sensorless Field Oriented Control of a PMSM" (DS01078) · AN992 - "Sensorless BLDC Motor Control Using dsPIC30F2010" (DS00992) · AN1292 - "Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor (PMSM) Using a PLL Estimator and Field Weakening (FW)" (DS01292) · AN901 - "Using the dsPIC30F for Sensorless BLDC Control" (DS00901). THE MICROCHIP WEBSITE Microchip provides online support via our website at www.microchip.com. This website is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the website contains the following information: · Product Support Data sheets and errata, application notes and sample programs, design resources, user's guides and hardware support documents, latest software releases and archived software · General Technical Support Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listing · Business of Microchip Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives 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 website at: https://www.microchip.com/support. DOCUMENT REVISION HISTORY Revision A (September 2022) · Initial release of this document. DS50003171A-page 6 2022 Microchip Technology Inc. and its subsidiaries MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER GUIDE Chapter 1. Product Overview This chapter provides an overview of the MCP 8022 Reference Design and covers the following topics: · MCP8022 Device Overview · MCP8022 BLDC Motor Driver Development Board Key Features · What Does the MCP8022 BLDC Motor Driver Development Kit Include? 1.1 MCP8022 DEVICE OVERVIEW The MCP8022 BLDC Motor Driver Development Board is used to demonstrate the drive capabilities/facilities offered by the MCP8022 in BLDC/PMSM motor applications. The board is designed to using the MCP8022 for 3-Phase Brushless DC (BLDC) motor gate driver in conjunction with the Microchip dsPIC33CK128MP503. The board is equipped with three shunts, two branch shunts and one sum shunt. This makes it well suited for sinusoidal dual or single-shunt FOC motor control algorithm in sensor-less mode. As provided, the MCP8022 BLDC Motor Driver Development Board is ready to drive a BLDC motor using 2-shunt algorithm. The board is equipped with a RUN/STOP button and a potentiometer for speed adjustment. In conjunction with a 'HURST-300' motor, the algorithm is optimized to drive few amperes at the automotive supply voltage level of 13.5V. MCP8022 Development Board Phase A 12V Phase B MCP8022 dsPIC33CK128MP503 Phase C FIGURE 1-1: Diagram. MCP8022 BLDC Motor Driver Development Board Block 1.2 MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD KEY FEATURES The MCP8022 BLDC Motor Driver Development Board is a stand-alone motor controller for brushless DC motors (BLDC). The board can drive a three-phase brushless DC motor rated at up to 25 A and 24V. The input voltage range for the board is +6V to +24V. The on-board MCP8022 generates 3.3V and 12V using internal voltage regulators. The 12V regulator provides the power for the MOSFET gate drivers. The 3.3V generates the power for the attached dsPIC33CP128MP503 host microcontroller. An input terminal block is provided to apply the input voltage to the board. An output header connector provides the connection to the external motor. 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 7 MCP8022 BLDC Motor Driver Development Board User Guide A programming header connector is available for updating the firmware into the dsPIC33CP128MP503 using a PICkitTM 4 programmer/debugger. For purpose of rotor position feedback, an input terminal block is placed on the board. It allows connection of 5V Hall sensors. Alternatively, a Quadrature Encoder QEI can be connected to those pins. For UART external communication, the user can attach a header connector to use a PICkit Serial Communication interface. An UART communication header COM_EXT is prepared for integration into automotive environment. For other user purposes, a 3-pin connector can be planted on the board for MCP8022 internal communication level adaptor usage. 1.3 WHAT DOES THE MCP8022 BLDC MOTOR DRIVER DEVELOPMENT KIT INCLUDE? This MCP8022 BLDC Motor Driver Development Board kit includes: · The MCP8022 BLDC Motor Driver Development Board (DT100123) · Key Information Sheet DS50003171A-page 8 2022 Microchip Technology Inc. and its subsidiaries MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER GUIDE Chapter 2. Installation and Operation 2.1 GETTING STARTED The MCP8022 BLDC Motor Driver Development Board demonstrates the features of Microchip's 3-Phase Brushless DC (BLDC) Motor Driver with Power Module, the MCP8022, used in a BLDC motor driver application. When used in conjunction with a microcontroller, the MCP8022 provides the necessary drive signals for a 3-Phase BLDC motor. A dsPIC33CK128MP503 processor is used to supply the PWM inputs to the MCP8022 as well as to handle the high-speed Analog-to-Digital Conversion (ADC) required for up to 50 kHz PWM operation. This dedicated microcontroller sustains a large range of motor control applications due to its specific synchronization between different peripherals. For a demonstration of the MCP8022's capabilities, a firmware based on a 2-shunt FOC algorithm providing a sine wave commutation control, is available on the Microchip website. FIGURE 2-1: Getting Started Setup. 2.2 FEATURES The MCP8022 BLDC Motor Driver Development Board has the following features: · Input Operating Voltage Range: +6.0V to +24V · Maximum of 500 mA of Gate Drive Current for External N-Channel MOSFETs · Drives up to a 20A RMS BLDC Motor · 3.3V LDO for Microcontroller Supply 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 9 MCP8022 BLDC Motor Driver Development Board User Guide · ON/OFF Push Button (RUN) · Reset Push Button (RST) · Wake-Up Push Button (WakeUp) · PWM Signal LED Indicators · Fault Signal LED Indicator · UART Tx and Rx LED Indicator · 2 Multi-Purpose LED Indicator · PICkit 4 Debugger Interface · Speed Control Potentiometer · Terminal Block for 5V Hall-Effect Sensors or Alternatively QEI Interface · UVLO, OVLO and DUVLO Protections · Programmable External MOSFET Overcurrent Protection · Programmable PWM Dead-Time Protection · Programmable PWM Blanking Time for Current Switching Spikes · Complete "C" Source Code (provided on the evaluation board webpage) 2.3 BOARD DESCRIPTION The MCP8022 BLDC Motor Driver Development Board is fully assembled and tested for driving a BLDC motor. The board can be configured to drive a BLDC motor in both sensored or sensorless modes as well as for a sinusoidal FOC or trapezoidal motor control algorithm. This board requires the use of an external voltage source that is capable of supplying from 6V to 24V at the rated motor current. IOUT_1 IOUT_2 IOUT_3 JP6 VDD GND Speed po VBOOT 12V VREG 3V3 PICKitPin 1 Motor clamp PhA Motor clamp PhB Motor clamp PhC FIGURE 2-2: VREG 5V Vr_sel to le MCP8022 BLDC Motor Driver Development Board. DS50003171A-page 10 2022 Microchip Technology Inc. and its subsidiaries Installation and Operation COM_EXT J6 LIN or CAN interface Rx Rx EN RC5 RC4 RC0 VCP - J1 D+ Virtual COM Port D- USB PICKit Prog J7 MCP2221 Virtual COM Port UART to USB bridge Tx Rx MCLR PGD PGC RB3 RB7 dsPIC33CK128MP503 VREG 6 PMMxy OE DE2 FAULT FAULT MCP8022-3V3 +12V J5 Phase A J4 Phase B- J3 Phase C J2 HALL_A RC1 HALL_B RC2 HALL_C RC3 FIGURE 2-3: Diagram. HALL interface J8 MCP8022 BLDC Motor Driver Development Board Block 2.3.1 Getting Started The board comes preprogrammed with a 2-shunt FOC algorithm. For a simple motor start, follow these steps: · Connect an BLDC HURST motor to the motor clamps J2, J3, J4. · Supply the board with VDD = 13.5 V via the supply connectors J5+ and J5-. · Ensure the SPEED potentiometer arrow points to the right bottom corner for medium speed. · Press the RUN button to start the motor. 2.3.2 Connections 2.3.2.1 JUMPER SETTINGS The jumpers are described in Table 2-1. The jumper's positioning can be seen in Figure 2-4, (circled in green). TABLE 2-1: BLDC MOTOR DRIVER DEVELOPMENT BOARD JUMPERS Jumper Name Position Function Description J10 - JP1 Vr_sel 1-2 (default) Set MCP8022 op amp 3 reference voltage to 1.637V 2-3 Set MCP8022 op amp 3 reference voltage to 0V J11 - JP2 VB_PROT ON (default) Battery supply clamp selection to 27V OFF No maximum battery supply voltage clamp 2022 Microchip Technology Inc. DS50003171A-page 11 MCP8022 BLDC Motor Driver Development Board User Guide Rv1 J6 J10 - Jp1 J5+ J5- ST2 ST1 J2 J3 J7 J4 FIGURE 2-4: Interfaces. J8 J1 J11 - Jp2 ST3 BMCP8022 BLDC Motor Driver Board Jumper / Connector / User 2.3.2.2 CONNECTORS The connectors are described in Table 2-2. The jumpers positioning can be seen in Figure 2-4 (circled in pink). TABLE 2-2: MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD CONNECTORS Connectior Style Name Function Description J1 USB Micro-B VCP UART to USB Virtual COM Port J2 J3 J4 J5+, J5- Screw Connector Screw Connector Screw Connector Block Screw Connector PhC PhB PhA Power Supply BLDC Motor Phase C Connection BLDC Motor Phase B Connection BLDC motor phase A Connection Board Power Supply Connector. Motor Operating Range 6V - 24V J6 6-pin header COM_EXT External Communication Interface J7 6-pin header PICKitProg PICKit Programmer Debugger interface J7-1 MCLR J7-2 +3V3 J7-3 Ground J7-4 PGD J7-5 PGC J1-6 Aux J8 5-pin header HALL or HALLor QEI Interface QEI 2.3.2.3 USER INTERFACES The push buttons and the potentiometer are described in Table 2-4. The positioning can be seen in Table 2-4, (circled in orange). DS50003171A-page 12 2022 Microchip Technology Inc. and its subsidiaries Installation and Operation TABLE 2-3: MCP8022 BLDC MOTOR DRIVER DEVELOPMENT USER INTERFACES Push Button Name Position Function Description ST1 Push Button RUN Toggle Push Button function for Start / Stop ST2 Push Button RST Reset Button ST3 Push Button WAKE Wake Up Button Rv1 Potentiometer SPEED Motor speed 50% position is the setting for zero speed in the pre-programmed firmware 2.3.2.4 POWERING THE MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD (REFERENCE Figure 2-4) Apply the power supply to the input power block connector, J5+, J5-. The operation range of the board is limited by the MCP8022 operation voltage, ranging from 6.25V to 29V. The preprogrammed dual shunt software is optimized for a typical automotive supply voltage level of 13.5V. 2.3.2.5 CONNECTING A MOTOR TO THE MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD Connect each phase winding of a three-phase BLDC motor to the appropriate terminal of the motor terminals PhA, PhB, PhC. The preprogrammed dual shunt software is optimized for the HURST motor 'HURST-300', Microchip Direct part number AC300022. 2.3.3 Operating a Motor The potentiometer Rs1 'SPEED' is intended to adjust the speed setting. The preprogrammed firmware takes the 50% setting of the potentiometer as zero speed. In the 50% position, the arrow indicates horizontal to right. Tuning the potentiometer left of the 50% value makes the motor turn into one direction whereas right into the other direction. FIGURE 2-5: Motor Inrush Speed Setting 25% and RUN Button. 2022 Microchip Technology Inc. DS50003171A-page 13 MCP8022 BLDC Motor Driver Development Board User Guide · For inrush, a speed potentiometer position of 25% is recommended. · The power supply activation is indicated by the green LED 'VBOOT'. · The toggle button ST1 'RUN' starts the motor. Pressing again stops the motor. · Motor operation will be indicated by the PWM input LEDs PWMxL and PWMxH. · Turning the Speed Potentiometer adjusts the motor speed. The Speed Adjust changes the target speed of the motor. 2.3.4 Indicator LEDs Table 2-4 lists the MCP8022 BLDC Motor Driver Development Board LED indicators. TABLE 2-4: LED INDICATORS PCB Location Name Description D10 D31 D19, D21 LED1 LED2 USB_RX, _TX Motor operation status Debug operation status USB2UART Virtual Com Port Operation D22 D23 D24 D25, D27, D29 D26, D28, D30 VREG VBOOT /FAULT PWMxL PWMxH MCP8022 3.3V VREG output, indicates 'ACTIVE' mode MCP8022 12V VBOOT output MCP8022 failure indication PWM Phase x low-side input to MCP8022 PWM Phase x high-side input to MCP8022 2.3.5 Test Points Table 2-5 lists the test points for diagnosis and debug purposes. TABLE 2-5: TEST POINTS DESCRIPTION Test Point Name Description VB PGND (3) VREG VBOOT /FAULT OE DE2 PWM1-3L PWM1-3H LSA/B/C HSA/B/C I_Out1/2/3 VBA/B/C Power Supply (+) Power Supply Ground (-) MCP8022 3.3V LDO Output Voltage MCP8022 12V LDO Output Voltage MCP8022 /FAULT Output MCP8022 Enable Signal MCP8022 DE2 Communication Signal MCP8022 PWMs Low Driver Inputs MCP8022 PWMs High Driver Inputs MCP8022 Phase A/B/C Low-Side Driver Outputs MCP8022 Phase A/B/C High-Side Driver Outputs MCP8022 Shunt Current Sense Amplifier Outputs MCP8022 Bootstrap Input Voltage Pins 2.4 SCHEMATIC DESCRIPTION 2.4.1 Current Sense Amplifier (CSA) The CSAs 1 and 2 are amplifying the string current of phase C and phase B while the CSA 3 amplifies the sum current of all three strings. All the 3-Current Shunt Amplifiers CSA are set to an offset of 1.637V. The reference supply of half of the microcontroller supply voltage level allows measuring positive as well as negative voltages in the same range. DS50003171A-page 14 2022 Microchip Technology Inc. and its subsidiaries Installation and Operation The third CSA's offset can alternatively be switched down to 0V, for only positive current measurement. The amplification gain of all the three CSA's is adjusted to 15. The op amps are switched as inverters. The positive clamps of the shunts are connected to the inverted inputs and the shunt's negative clamps are connected each to the noninverted inputs. In combination with the 10mOhm shunt, a current of 10A should be possible to measure per string. For higher current, lower shunt resistors RSh1, RSh2, RSh3 need to be installed. 2.4.2 HALL Sensor or QEI interface The purpose of the connector J8 is to connect rotor position feedback sensors. The microcontroller input signals are suitable to take position signals back from either three HALL sensors or a Quadrature Encoder Interface QEI. The pinning is shown in Table 2-6. TABLE 2-6: Pin J8-1 J8-2 J8-3 J8-4 J8-5 J8 HALL SENSOR OR QEI INTERFACE CONNECTOR Style Name Function Description +5V Ground HALL_A HALL_B HALL_C Sensor supply for HALL or QEI Sensor HALL or QEI input channel A HALL or QEI input channel B HALL or QEI input channel C 2.4.3 External Communication Interface The intention of connector J8 is to provide an interface to a higher-ranking system. This can eventually be the automotive environment in a car. The selected pins of the microcontroller dsPIC33CK128MP503 are suitable to support LIN and CAN-FD protocol, see Table 2-7. Any of Microchip's LIN or CAN transceiver interface boards can be attached by interface cables. For LIN applications, the power supply VBus voltage is available on J6-1 while for CAN applications, a +5V supply signal is provided (J6-6). The Rx/Tx UART signals provide an enable signal. TABLE 2-7: J6 EXTERNAL COMMUNICATION INTERFACE Connector Style Name Function Description J6 6-pin header COM_EXT Multi-Purpose Communication Interface J6-1 VBus Board Power supply voltage, e.g. 12V LIN supply J6-2 Ground Ground J6-3 EN_RC0 Multipurpose I/O, e.g. CAN/LIN enable J6-4 RX_RC4 Multipurpose I/O, e.g. CAN/LIN UART RX J6-5 TX_RC5 Multipurpose I/O, e.g. CAN/LIN UART TX J6-6 +5V 5V output, e.g. for CAN voltage reference 2.4.4 PICKit 4 Interface J7 is the Microcontroller Programmer Debugger interface, intended to program the firmware. 2022 Microchip Technology Inc. DS50003171A-page 15 MCP8022 BLDC Motor Driver Development Board User Guide TABLE 2-8: Connector PICkit INTERFACE PINS Style Name Function Description J7-1 J7-2 J7-3 J7-4 J7-5 J7-6 2.4.5 MCLR +3V3 Ground PGD PGC Aux VCP Virtual COM Port The USB connector J1 purpose is to communicate to the microcontroller UART via the USB to UART bridge device MCP2221. For further information about the MCP2221, see data sheet at: https://www.microchip.com/downloads/en/DeviceDoc/20005292C.pdf. Third-party source code generation framework tools like Scilab-X2C can communicate via the Virtual COM Port VCP connector J1 with the Microcontroller. The tool X2C communicator establishes the communication after assigning the correct communication port. The Scilab and X2C communication is described in Chapter 4. "Software". DS50003171A-page 16 2022 Microchip Technology Inc. and its subsidiaries MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER GUIDE Chapter 3. Application Hints The gate drivers are supplied out of the 12V VBOOT regulator, see Figure 3-1 for VBOOT and bootstrap circuitry. VDD CAP1 CAP2 VREG VREG LDO 70mA 12V @ 30 mA Regulated Charge Pump +12V VBOOT VBA VBB VBC VBOOT capacitor Bootstrap diode Bootstrap capacitors FIGURE 3-1: +12V +12V +12V HSA HSB HSC PHA PHB PHC LSA LSB LSC VBOOT and Bootstrap Circuitry. 3.1 VBOOT CAPACITOR PRECHARGE VBOOT is supplied as soon as the output enable pin OE is set to active. For VDD supply voltages below the Charge Pump operation threshold voltage level of 13V, VBOOT is supplied from the charge pump. For VDD supply voltages higher than Charge Pump operation threshold voltage level, the VBOOT is directly supplied out of the VDD via an LDO. Before usage of the VBOOT function, the user must ensure VBOOT is fully charged. VBOOT is enabled after Power On Reset, with the rising edge of Output Enable pin OE. The charging time depends on the size of VBOOT. This is typically 1ms for a VBOOT capacitor size of 10µF. This time is valid for both charge pump and 12-V-LDO charging. 2022 Microchip Technology Inc. DS50003171A-page 17 MCP8022 BLDC Motor Driver Development Board User Guide 3.2 BOOTSTRAP CAPACITOR PRECHARGE The low-side gate drivers are getting directly supplied out of the VBOOT capacitor while the high-side gate drivers need a bootstrap capacitor for high-voltage gate supply. Before high-side gate driver activation, be certain the bootstrap capacitors are fully charged. The bootstrap capacitors are charged by activation of the corresponding low-side gate drivers. The low-side drivers switch the anode of the low capacitors across the corresponding motor clamp to power ground. This allows the bootstrap capacitors to charge out of the VBOOT capacitors across the bootstrap diode. The VBOOT capacitor should be fully loaded for charging the bootstrap capacitors. The VBOOT capacitor powers the low-side gate driver as well as directly powering the bootstrap capacitor's charging process. The charge inrush current of the bootstrap capacitors may trigger the overcurrent protection of the MCP8022. The low ohmic capacitors act almost like a short circuit and will draw a high peak current. Depending on the capacitor size, the peak can last a few hundred microseconds. Bootstrap charge precautions need to be taken, which can be sequential charging of the three bootstrap capacitors. This is not as efficient as if the three clamps are connected to each other across the motor coils. A more practical solution may be a PWM-controlled bootstrap capacitor precharge. It must be considered that overcurrent protection is triggered and will lock further operation of the MCP8022 by a FAULT signal. DS50003171A-page 18 2022 Microchip Technology Inc. and its subsidiaries MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER GUIDE Chapter 4. Software 4.1 SOFTWARE ARCHITECTURE The open-source demonstration software package is created using multiple software tools and techniques. The demo is available as the MPLAB X IDE project. The software architecture builds-up from some layers. The low-level peripherals are configured by the MPLAB Code configurator. Also, some higher-level MCC libraries are used like X2C® and MCP8022 controller libs. The motor control algorithm is implemented by a model-based approach with Scilab and X2C tools. The X2C ecosystem also enables the user to do run-time monitoring, control algorithm parameter tuning and debugging via the UART port. FIGURE 4-1: SW Architecture. The demo code implements a sensorless, field-oriented motor control to demonstrate the MCP802x family capabilities. Therefore, this documentation focuses on the development board, not on the motor control algorithm. For further details about the motor control technique used, please refer to the application note AN1292 (see https://ww1.microchip.com/downloads/en/AppNotes/01292A.pdf). 4.2 MICROCHIP MPLAB CODE CONFIGURATOR MCC The software package was generated by using Microchip's MPLAB Code Configurator (MCC). All the relevant configurations and middleware, including the ones for MCP8022, are part of MCC. For the MCP8022 DE2 register setup and all the UART communication created with the MCC, see Figure 4-1 for the used peripherals and MCP802x MCC Easy Setup Window. 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 19 MCP8022 BLDC Motor Driver Development Board User Guide FIGURE 4-2: MCP802x MCC Easy Setup Window. The I/O configuration is also done by MCC. Figure 4-2 shows a part of the configuration. Hint: The MCP8022_OE is important to set, otherwise the MCP802X library cannot work properly. FIGURE 4-3: Pin Module Settings. MCC generates a framework project with peripheral initialization functions. The following flowcharts show the peripherals are initialized and configured by the generated MCC functions at the beginning of the main routine. Then the MCP8022 is also initialized manually. Finally, the idle loop handles the diagnostics. The MCP802X high-level management functions are implemented using the middleware MCC library. These functions are organized in the MCP802X task function and executed in the Timer 1 interrupt. MCP802X can send unsolicited error messages in case of HW fault. These are handled at the UART RX (DE2) interrupt. To check the errors with the polling method, use the getStatus functions. It is also possible to use callback (push) method to increase response time. To do so, override the weak "Status_Notification" callback function to get notification at the application layer immediately after the error message arrives. Limit the callback function execution time, as it is running in the UART interrupt. DS50003171A-page 20 2022 Microchip Technology Inc. and its subsidiaries Software FIGURE 4-4: MCP802X Software Function Flow Chart. The details of the MCC configuration are not part of the documentation as it can be opened in MPLAB X. The graphical peripheral configuration in MCC is self-explanatory, when added together with the schematics portion of this document. For further details on how to use the MCC, follow this link. 4.3 X2C - RAPID PROTOTYPING (MODEL-BASED SOFTWARE DESIGN) The field-oriented motor control algorithm is implemented in a Scilab model. The compilable C code is generated from this model by the X2C® toolbox. This motor control model is part of the source code that can be opened with the free Scilab software. The model itself also contains a motor sub-block that is not part of code generation, however, enables PC simulation is enabled. (shown in the green box in Figure 4-5). FIGURE 4-5: on DT100123. MC Sensorless FOC with PLL Estimator dsPIC33CK256MP508 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 21 MCP8022 BLDC Motor Driver Development Board User Guide The high-level workflow with Scilab and X2C is demonstrated in Figure 4-6 and Figure 4-7. As described above, the MCC creates the peripheral configuration, the drivers and framework project that will execute the model code generated from Scilab. FIGURE 4-6: MPLAB X, MCC and Scilab, X2C Integrating Together. The workflow looks like the following [Figure 4-7]: 1. Use Scilab to work on the model and simulate on PC 2. Use X2C Communicator to generate code from the model 3. Use MPLAB X to program the device and debug, if necessary 4. Use X2C communicator's scope window to monitor real time analog signals FIGURE 4-7: Working with Scilab and MPLAB X. The FOC model calculation is executed in the ADC interrupt when the phase current measurements are ready. The ADC sampling is synchronized with the PWM frequency, which is 10kHZ. Therefore, the model execution period is 100 us. At the beginning of the interrupt, the model "inport" variables are updated according to the phase currents measured by ADCs. Then the motor control model calculation function is executed. Finally, the results of the calculation, the outport variables of the model, are scaled and passed to the peripherals like PWM duty cycle. Diagnostics: The X2C framework provides additional features like run-time parameter change in control algorithm and virtual oscilloscope to monitor analog signal chains in the model. The main idle loop contains the necessary diagnostics functions to provide the communication interface via the J1 VCP Virtual COM Port. DS50003171A-page 22 2022 Microchip Technology Inc. and its subsidiaries Software To get more information about the model-based software development tools please follow the link: https://mu.microchip.com/motor-control-rapid-prototyping FIGURE 4-8: X2C Model Flow Chart. 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 23 MCP8022 BLDC Motor Driver Development Board User Guide NOTES: DS50003171A-page 24 2022 Microchip Technology Inc. and its subsidiaries MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER GUIDE Appendix A. Schematic and Layouts A.1 INTRODUCTION This appendix contains the following schematic and layouts for the MCP 8022: · Board Schematic · Board Top Silk · Board Top Copper · Board - Mid-Layer 1 · Board - Mid-Layer 2 · Board Bottom Copper · Board 3D Top View · Board 3D Bottom View 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 25 A.2 BOARD SCHEMATIC MCP8022 BLDC Motor Driver Development Board User Guide DS50003171A-page 26 2 0 3 21 1PS76SB10 +3V3 C37 4.7uF 10V 0805 GND +3V3 +3V3 J1 D+ USB2.0 Micro-B Female DD+ R54 0R DNP U3 1 11 VDD VUSB 12 13 DD+ 4 RST GP0 GP1 GP2 GP3 2 3 7 8 TP28 R31 TP29 TP30 R62 TP31 UART RX UART TX 5 6 R56 0R TX R57 0R 2k 2k 14 VSS SDA SCL 9 10 RX MCP2221A D19 USB_RX D21 USB_TX D20 PRTR5V0U2X DD+ 1 2 3 4 5 VBUS DD+ ID GND D- GND GND See layout and protection placement in datasheet for this diode GND +3V3 Vpp Vpp Vss Vss +3V3 R1 120R SPEED Speed Rv1 10k C1 0.1uF 50V 0805 GND DGND GND J6 VB 1 2 3 EN_RC0 4 RX_RC4 5 TX_RC5 GND +5V 6 HDR-2.54 Male 1x6 COM_EXT J7 MCLR Vpp Vss +3V3 PGD PGC Aux DGND +5V J8 5 4 3 HALL_ A 2 HALL_ B 1 HALL_ C DGND HDR-2.54 Male 1x5 NT3 Net Tie PGND TP25 PGND NT4 Net Tie PGND +3V3 R24 +3V3 2.2R C2 2.2uF 0603 TP1 DGND TP2 DGND DGND DGND +3V3 +3V3 C35 0.1uF C36 0.1uF DGND R23 120R DGND U1 MCLR MCLR 3 Vpp 14 C3 23 2.2uF 32 0603 10 Vss 15 22 31 11 IOut1 IOu1t IOut2 IOu2t OE LED1 OE TP17 OnOFF OnOFF 5 6 7 8 9 37 OSCI/CLKI/AN5/RP32/RB0 MCLR OSCO/CLKO/AN6/RP33/RB1 OA2OUT/AN1/AN7/ANA0/CMP1D/CMP2D/CMP3D/RP34/SCL3/INT0/RB2 VDD PGD2/OA2IN-/AN8/RP35/RB3 VDD PGC2/OA2IN+/RP36/RB4 VDD PGD3/RP37/PWM6L/SDA2/RB5 AVDD PGC3/RP38/PWM6H/SCL2/RB6 TDO/AN2/CMP3A/RP39/SDA3/RB7 VSS PGD1/AN10/RP40/SCL1/RB8 VSS PGC1/AN11/RP41/SDA1/RB9 VSS TMS/RP42/PWM3H/RB10 AVSS TCK/RP43/PWM3L/RB11 TDI/RP44/PWM2H/RB12 RP45/PWM2L/RB13 OA1OUT/AN0/CMP1A/IBIAS0/RA0 RP46/PWM1H/RB14 OA1IN-/ANA1/RA1 RP47/PWM1L/RB15 17 18 19 20 21 24 25 26 27 28 33 34 35 36 1 2 IOu3t VB8 TX FAULT PGD PGC RX DRX DTX PWM3H PWM3L PWM2H PWM2L PWM1H PWM1L IOut3 VB8 TX FAULT PGD PGC RX PWM3H PWM3L PWM2H PWM2L PWM1H PWM1L OA1IN+/AN9/RA2 DACOUT1/AN3/CMP1C/RA3 OA3OUT/AN4/CMP3B/IBIAS3/RA4 EP AN12/ANN0/RP48/RC0 OA3IN-/AN13/CMP1B/ISRC0/RP49/RC1 OA3IN+/AN14/CMP2B/ISRC1/RP50/RC2 AN15/CMP2A/IBIAS2/RP51/RC3 RP52/PWM5H/ASDA2/RC4 RP53/PWM5L/ASCL2/RC5 4 12 13 16 29 30 EN_RC0 TP27 RTXX__RRCC54TTPP1134 +3V3 R25 22k R26 2.2k DE2 R66 R67 R68 +5V R60 R61 R65 4.7k 4.7k 4.7k 47k 47k 47k HALL_ A HALL_ B HALL_ C dsPIC33CK128MP5E0/M3-5 R27 +3V3 DGND DGND DGND R80 100k 0603 5% /FAULT ST1 RUN C8 4.7k OnOFF +3V3 0.1uF ST2 RST C9 R28 +3V3 4.7k R81 470R MCLR C15 VB R63 2k PGND 4.7uF 25V C13 DGND 4.7uF 25V TP21 +12V TP32 VBOOT LED2 0.1uF R29 0603 820RPGD 1% LED2 D22 TP15 CP C14 PGND VREG R64 4.3K 0805 VREG LED1 D10 R79 0603 820R 1% LED1 GND 1uF D33 25V C24 D23 4.7uF 25V LSA LSB LSC D31 DGND +3V3 D24 SS26SHE3_B/H TP18 PGND DE2 TP33 TP34 TP35 PWM3L TP36 PWM3H TP37 PWM2L TP38 PWM2H PWM1L PWM1H DE2 PWM_LC PWM_HC PWM_LB PWM_HB PWM_LA PWM_HA OE FAULT PWM3L PWM3H PWM2L PWM2H PWM1L PWM1H 1 2 3 4 5 6 7 8 9 10 DE2 PWMCL PWMCH PWMBL PWMBH PWMAL PWMAH OE FAUL T PGND U2 MCP8022 CAP1 CAP2 VDD VREG PGND PGND VBOOT LSA LSB LSC 40 39 38 37 36 35 34 33 32 31 PGND VBA HSA PHA VBB HSB PHB VBC HSC PHC PGND 30 29 28 27 26 25 24 23 22 21 D13 GND D12 TP39 VBA VBA PHA HSA VBB TP40VBB PHB VBC HSB TP41 VBC PHC HSC +12V +12V TP22 D16 VBOOT C25 0805 0.22uF 25V MBR260HWTR C26 0805 0.22uF 25V MBR260HWTR C27 0805 MBR260HWTR 0.22uF 25V C4 R69 100pF 50V 91k C41 R70 100pF 50V 91k C42 R71 100pF 50V 91k GND PHC PHA PHB PHC PHB PICKitProg 65432 1 FAULT R72 2k R73 R74 R75 R76 R77 R78 2k 2k 2k 2k 2k 2k PGND TP20 OE OUT3 IN3IN3+ OUT2 IN2IN2+ OUT1 IN1IN1+ WAKE PGND R30 VB 41 EP OUT3 11 IN3- 12 IN3+ 13 OUT2 14 IN2- 15 IN2+ 16 OUT1 17 IN1- 18 IN1+ 19 WAKE 20 PWM3L PWM3H PWM2L PWM2H PWM1L PWM1H D25 D26 D27 D28 D29 D30 TP23 /FAULT PGND ST3 3.3k 0603 1% WAKE C34 VB U4 MCP1792/5V +5V 1 VIN VOUT 3 GND GND GND GND GND GND TP26 WAKE 0.1uF PHA GND C39 2 C40 PGND 2.2uF 2.2uF 25V 25V 0805 0805 DGND DGND DGND D8 SMF33A_R1_00001 D5 SMF33A_R1_00001 D2 SMF33A_R1_00001 +VBus F1 VB 15A F2 15A +VBus +VBus 1 J5+ +Vbus J5- 1 TP19 VB VB D14 R41 J11 9.1k 5,6,7,8 1% C17 27V VB8 VB8 2.2uF 4QC1 1,2,3 R38 12 Clamp sel: ON=En. OFF=Dis CB1 470uF 25V P5D10H16 D32 R42 3.3k C10 0.1uF PGND DGND DGND DGND D15 R39 10k PGND 2.2k SIR5102DP-T1-RE3 YELLOW JP2 Shunt 2.54mm 1x2 PGND PGND PGND TP-2 VBUS CB2 470uF 25V P5D10H16 PGND PGND VB VB TP3 HSC HSC TP4 TP5 LSC LSC PGND TP6 HSB HSB TP7 TP8 LSB LSB PGND TP9 HSA HSA TP10 TP11 LSA LSA PGND BUK9Y197-5B,115 5 Q1 R3 0805 R2 0805 10R 1% R5 0805 47R 4 1% D1 R4 PMEG40T203E3R0Xk C18 0R 10nF 50V R6 47R 4 0805 1% R7 10R D3 R8 0805 1% PMEG40T203E3R0Xk C19 10nF 50V C5 1,2,3 2.2uF 100V PGND1210 C CN1 RN1 J2 DNP 0.22uF 82R DNP 50V PGND 1 5 Q2 PhC BUK9Y197-5B,115 1,2,3 RSh1 NT5 NT6 0.01R VB VB IS1_P IS1_N R10 0805 R9 0805 10R 1% R12 0805 PGND BUK9Y197-5B,115 47R 4 1% D4 R11 PMEG40T203E3R0Xk C20 0R 10nF 50V R13 47R 4 0805 1% R14 10R D6 R15 0805 1% PMEG40T203E3R0Xk C21 10nF 50V 5 Q3 C6 1,2,3 2.2uF 100V PGND1210 J3 B 1 5 Q4 PhB BUK9Y197-5B,115 1,2,3 RSh2 0.01R VB VB CN2 DNP 0.22uF 50V RN2 82R DNP PGND NT7 NT8 R16 0805 R17 10R 0805 1% R19 0805 PGND BUK9Y197-5B,115 47R 4 1% D7 R18 PMEG40T20C3E32R02Xk 0R 10nF 50V R20 47R 4 0805 1% R21 10R D9 R22 0805 1% PMEG40T203E3R0Xk C23 10nF 50V PGND 5 Q5 C7 1,2,3 2.2uF 100V PGND1210 J4 A CN3 DNP 0.22uF 50V RN3 82R DNP PGND 1 5 Q6 PhA BUK9Y197-5B,115 1,2,3 NT1 IS3_P TP-1 RSh3 0.01R PGnd NT2 IS3_N PGND PGND IS2_P IS2_N 2 3 1 2 3 1 2 3 1 FD4 FIDUCIAL FD5 FIDUCIAL FD6 FIDUCIAL LABEL1 PAD1 RUBBER PAD D9.5 H4.8 PAD2 RUBBER PAD D9.5 H4.8 PAD3 RUBBER PAD D9.5 H4.8 PAD4 IOut3 I_Out3 TP24 Gt=15 R36 0603 11.3k 1% C29 39pF 50V 0603 Label Need HelpgLear RUBBER PAD D9.5 H4.8 JP1 R33 0603 R34 330R R37 330R Shunt 2.54mm 1x2 +3V3 J10 +3V3 23.2k 1% 1 2 3 Offset sel: 1-2=1.637 V 2-3=0 V PGND Vr_sel C28 R40 IS3_N 150pF C30 470R BDA1T75404E6327HTSA1 R35 IS3_P 470R 150pFPGND IOut2 I_Out2 TP12 Gt=15 R44 0603 11.3k 1% C16 39pF 50V 0603 cal: R32=((Gt* VREF/Offset)-1)* (R45+R46) R32=((15* 3,3/1,6)-1)* (0,33+0,47)=23,2k cal: R44=(Gt-1)* (R50+R52) R44=(15-1)* (0,33+0,47)=11,2k R32 0603 23.2k 1% +3V3 R45 330R R50 330R C11 150pF C32 150pFPGND R52 IS2_N 470R BDA1T15404E6327HTSA1 R46 IS2_P 470R IOut1 I_Out1 TP16 Gt=15 R47 0603 11.3k 1% C31 39pF 50V 0603 R43 0603 23.2k 1% +3V3 R48 C12 330R 150pF R51 C33 330R 150pF PGND R53 IS1_N 470R BDA1T85404E6327HTSA1 R49 IS1_P 470R 2022 Microchip Technology Inc. and its subsidiaries A.3 BOARD TOP SILK Schematic and Layouts A.4 BOARD TOP COPPER 2022 Microchip Technology Inc. and its subsidiaries ···· DS50003171A-page 27 MCP8022 BLDC Motor Driver Development Board User Guide A.5 BOARD - MID-LAYER 1 A.6 BOARD - MID-LAYER 2 DS50003171A-page 28 2022 Microchip Technology Inc. and its subsidiaries A.7 BOARD BOTTOM COPPER Schematic and Layouts A.8 BOARD 3D TOP VIEW 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 29 MCP8022 BLDC Motor Driver Development Board User Guide A.9 BOARD 3D BOTTOM VIEW DS50003171A-page 30 2022 Microchip Technology Inc. and its subsidiaries MCP8022 BLDC MOTOR DRIVER DEVELOPMENT BOARD USER GUIDE Appendix B. Bill of Materials (BOM) TABLE B-1: BILL OF MATERIALS (BOM)(1) Qty. Reference Description Manufacturer Part Number 1 C1 Capacitor, ceramic, 0.1 µF, 50V, Kyocera AVX 10%, X7R, SMD, 0805 08055C104KAT2A 2 C2, C3 Capacitor, ceramic, 2.2 µF, 6.3V, TDK 10%, X5R, SMD, 0603 CGA3E1X7R0J225K080AC 3 C4, C41, C42 Capacitor, ceramic, 100 pF, 50V, Wurth Elektronik 5%, C0G, SMD, 0805 885012007057 3 C5, C6, C7 Capacitor, ceramic, 2.2 µF, 100V, Samsung 10%, X7R, SMD, 1210 CL32B225KCJSNNE 5 C8, C9, Capacitor, ceramic, 0.1 µF, 25V, KEMET C34, C35, 20%, X7R SMD, 0603 C36 C0603C104M3RACTU 1 C10 Capacitor, ceramic, 0.1 µF, 16V, Samsung 10%, X7R, SMD, 0603 CL10B104KO8NNNC 6 C11, C12, Capacitor, ceramic, 150 pF, 50V, Yageo C28, C30, 5%, NP0, SMD, 0603 C32, C33 CC0603JRNPO9BN151 3 C13, C15, Capacitor, ceramic, 4.7 µF, 25V, TDK Corporation C24 10%, X7R, SMD, 0805, AEC-Q200 CGA4J1X7R1E475K125AC 1 C14 Capacitor, ceramic, 1 µF, 25V, KEMET 10%, X7R, SMD, 0805 3 C16, C29, Capacitor, ceramic, 39 pF, 50V, Murata Electronics® C31 5%, C0G, SMD, 0603 C0805C105K3RACTU GRM1885C1H390JA01D 1 C17 Capacitor, ceramic, 2.2 µF, 50V, TDK 10%, X7R, SMD, 1206 CGA5L3X7R1H225K160AB 6 C18, C19, Capacitor, ceramic, 10000 pF, C20, C21, 50V, 20%, X7R, SMD, 0603 C22, C23 Kyocera AVX 06035C103KAT2A 3 C25, C26, Capacitor, ceramic, 2.2 µF, 25V, Wurth Elektronik C27 10%, X7R, SMD, 0805 885012207074 1 C37 Capacitor, ceramic, 4.7 µF, 10V, Taiyo Yuden 10%, X7R, SMD, 0805 LMK212B7475KG-T 2 C39, C40 Capacitor, ceramic, 2.2 µF, 25V, Murata 10%, X7R, SMD, 0805 GRM21BR71E225KE11L 2 CB1, CB2 Capacitor, aluminum, 470 pF, 25V, Nichicon Corporation 20%, RAD, P5D10H16 UHE1E471MPD6 6 D1, D3, D4, Diode, Schottky, Nexperia D6, D7, D9 PMEG40T20ERX, 515 mV, 2A, 40V, AEC-Q101, SOD-123F PMEG40T20ERX 3 D2, D5, D8 Diode,TVS, SMF33A_R1_00001, Pan Jit 33V, 200W, SMD, SOD-123FL SMF33A_R1_00001 Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 31 MCP8022 BLDC Motor Driver Development Board User Guide TABLE B-1: BILL OF MATERIALS (BOM)(1) (CONTINUED) Qty. Reference Description Manufacturer Part Number 4 D10, D19, Diode LED, Orange, 2V, 30 mA, Vishay Lite-On D21, D31 90 mcd, Clear, SMD, 0603 LTST-C190KFKT 3 D11, D17, Diode, Schottky array, Infineon D18 BAT5404E6327HTSA1, 800 mV, 200 mA, 30V, SMD, SOT-23-3 BAT5404E6327HTSA1 3 D12, D13, Diode, Schottky, MBR260HWTR, Sangdest Microelectronics MBR260HWTR D16 660 mV, 2A, 60V, SOD-123 1 D14 Diode, Zener, BZT52C27, 27V, Diodes Incorporated® BZT52C27-7-F 500 mW, SOD-123 1 D15 Diode, LED, Yellow, 2.1V, 30 mA, Lumex® Inc. SML-LXT0805YW-TR 10 mcd, Diffuse, SMD, 0805 1 D20 Diode, TVS, PRTR5V0U2X, 5.5V, Nexperia SMD, SOT-143 PRTR5V0U2X,215 8 D22, D23, Diode, LED, Green, 2.1V, 20 mA, Vishay Lite-On D25, D26, 6 mcd, Diffuse, SMD, 0805 D27, D28, D29, D30 1 D24 Diode, LED, red, 2.2V, 20 mA, 40 mcd, Clear, SMD, 0805 Dialight Corporation LTST-C170GKT 5988110107F 1 D32 Diode, Schottky, 60V, 2A, DO214AC Vishay SS26SHE3_B/H 1 D33 Diode, Schottky, 60V, 2A, DO214AC Vishay SS26SHE3_B/H 2 F1,F2 Resistor, Fuse, 15A, 24V, Fast, SMD, 1206 Multicomp MP005485 1 J1 Connector, USB2.0, Micro-B, Female, SMD, R/A Amphenol ICC (FCI) 5 J2, J3, J4, Connector, Terminal, 15A, Female, Keystone Electronics J5-, J5+ 1x1, TH, vertical 10118193-0001LF 8195 1 J6 1 J7 Connector, HDR-2.54, Male, 1x6, Gold, 5.84 MH, TH, vertical Connector, HDR-2.54, Male, 1x6, Gold, 5.84 MH, TH, R/A Amphenol ICC (FCI) Wurth Elektronik 68001-106HLF 61300611021 1 J8 1 J10 Connector, HDR-2.54, Male, 1x5, Gold, 6.00 MH, TH, R/A Connector, HDR-2.54, Male, 1x3, Tin, 6.75 MH, TH, vertical Wurth Elektronik Molex 61300511021 90120-0123 1 J11 Connector, HDR-2.54, Male, 1x2, Amphenol ICC (FCI) Tin, 7.0 MH, TH, vertical 861400021YO1LF 6 Q1, Q2, Q3, Transistor, FET, N-Channel, Q4, Q5, Q6 BUK9Y19-75B,115, 75V, 48.2A,106W, SOT-669 Nexperia BUK9Y19-75B,115 1 QC1 Transistor, FET, N-Channel, Vishay SIR5102DP-T1-RE3, 100V, 110A, 104W, PPAK, SO-8 SIR5102DP-T1-RE3 2 R1, R23 Resistor, TKF, 120R, 1%, 1/10W, Stackpole Electronics, Inc. RMCF0603FT120R SMD, 0603 Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. DS50003171A-page 32 2022 Microchip Technology Inc. and its subsidiaries Bill of Materials (BOM) TABLE B-1: BILL OF MATERIALS (BOM)(1) (CONTINUED) Qty. Reference Description Manufacturer Part Number 6 R2, R6, R9, Resistor, TKF, 47R, 1%, 1/8W, R13, R16, SMD, 0805 R20 Yageo Corporation RC0805FR-0747RL 6 R3, R7, Resistor, TKF, 10R, 1%, 1/8W, Stackpole Electronics, Inc. RMCF0805FT10R0 R10, R14, SMD, 0805, AEC-Q200 R17, R21 6 R4, R8, R11, Resistor, TKF, 330k, 5%, 1/10W, Panasonic® ERJ-3GEYJ334V R15, R18, SMD, 0603 R22 3 R5, R12, R19 Resistor, TKF, 0R, 1/8W, SMD, 0805 Yageo Corporation RC0805JR-070RL 1 R24 1 R25 Resistor, TKF, 2.2R, 5%, 1/10W, SMD, 0603 Resistor, TKF, 22k. 5%, 1/10W, SMD, 0603, AEC-Q200 Stackpole Electronics, Inc. RMCF0603JT2R20 Stackpole Electronics, Inc. RMCF0603JT22K0 2 R26, R39 Resistor, TF, 2.2k, 1%, 1/10W, SMD, 0603, AEQ-Q200 Stackpole Electronics, Inc. RMCF0603FT2K20 5 R27, R28, Resistor, TKF, 4.7k, 1%, 1/8W, R60, R61, SMD, 0805 R65 Yageo Corporation RC0805FR-074K7L 2 R29, R79 Resistor, TKF, 820R, 1%, 1/10W, Stackpole Electronics, Inc. RMCF0603FT820R SMD, 0603 2 R30, R42 Resistor, TKF, 3.3k, 1%, 1/10W, Vishay SMD, 0603 CRCW06033K30FKEA 10 R31, R62, R63, R72, R73, R74, R75, R76, R77, R78 3 R32, R33, R43 Resistor, TKF, 2k, 1%, 1/10W, SMD, 0603 Yageo Corporation RC0603FR-072KL Resistor, TKF, 23.2k, 1%, 1/10W, Stackpole Electronics, Inc. RMCF0603FT23K2 SMD, 0603 6 R34, R37, Resistor, TKF, 330R, 1%, 1/10W, Panasonic R45, R48, SMD, 0603 R50, R51 ERJ3EKF3300V 7 R35, R40, Resistor, TKF, 470R, 1%, 1/10W, Stackpole Electronics, Inc. RMCF0603FT470R R46, R49, SMD, 0603 R52, R53, R81 3 R36, R44, Resistor, TKF, 11.3K, 1%, 1/10W, Stackpole Electronics, Inc. RMCF0603FT11K3 R47 SMD, 0603 1 R38 Resistor, TKF, 10k, 5%, 1/2W, SMD, 0805 Panasonic ERJ-P06J103V 1 R41 Resistor, TKF, 9.1k, 1%, 1/10W, SMD, 0603 Yageo Corporation RC0603FR-079K1L 2 R56, R57 Resistor, TKF, 0R, 1/10W, SMD, Yageo Corporation 0603 RC0603JR-130RL 1 R64 Resistor, TKF, 4.3K, 1%, 1/8W, SMD, 0805 Stackpole Electronics, Inc. RMCF0805FT4K30 3 R66, R67, Resistor, TKF, 47k, 1%, 1/8W, R68 SMD, 0805, AEC-Q200 Yageo Corporation AC0805FR-0747KL Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. 2022 Microchip Technology Inc. and its subsidiaries DS50003171A-page 33 MCP8022 BLDC Motor Driver Development Board User Guide TABLE B-1: BILL OF MATERIALS (BOM)(1) (CONTINUED) Qty. Reference Description Manufacturer Part Number 3 R69, R70, Resistor, TKF, 91k, 1%, 1/8W, R71 SMD, 0805 Vishay/Dale CRCW080591K0FKEA 1 R80 Resistor, TKF, 100k, 5%, 1/10W, KOA Speer SMD, 0603 RK73B1JTTD104J 3 RSh1, Resistor, TKF, 0.01R, 1%, 2W, Rohm RSh2, RSh3 SMD, 2512, AEC-Q200 1 Rv1 Resistor, Trimmer, Cermet, 10k, Bourns®, Inc. 10%, 500mW, TH 3386F PMR100HZPFU10L0 3386F-1-103T 3 ST1, ST2, Switch, TACT, SPST, 24V, 50 mA, TE Connectivity Alcoswitch 147873-2 ST3 KSR231GLFS, SMD, 6X3.5 mm 2 TP1, TP2 Connector, TP, Tab, Silver, Mini, Keystone Electronics® 5019 3.8x2.03, SMD Corp. 3 TP25, TP-1, Connector, TP, Tab, Silver, Mini, Keystone Electronics® TP-2 3.8x2.03, SMD Corp. 5019 1 U1 Microchip Parts Microchip MCU, 16-Bit, 100 MHz, 128k, 16k, dsPIC33CK128MP503-E/M5, UQFN-36 Microchip Technology Inc. DSPIC33CK128MP503-E/M5 1 U2 1 U3 1 U4 Microchip Analog, Motor Driver, MCP8022, QFN-40 Microchip, Interface, USB, I2C, UART, MCP2221A-I/ST, TSSOP-14 Microchip Analog. LDO, 5V, MCP1792, SOT-223-3 Microchip Technology Inc. MCP8022T-3315HNHXVAO Microchip Technology Inc. MCP2221A-I/ST Microchip Technology Inc. MCP1792-5002H/DB PCB 1 PCB1 Printed Circuit Board 04-11036-R1 Do Not Populate 0 CN1, CN2, Capacitor, ceramic, 0.22 µF, 50V, Kyocera AVX CN3 10%, X7R, SMD, 1206 12065C224K4T2A 0 R54 Resistor, TKF, 0R, 1/10W, SMD, Yageo Corporation 0603 0 RN1, RN2, Resistor, TKF, 82R, 1%, 1/4W, RN3 SMD, 1206 Yageo Corporation RC0603JR-070RL RC1206FR-0782RL 0 TP12, TP16, Miscellaneous, test point, multi- Keystone Electronic 5001 TP18, TP19, purpose, mini, black Components and Devices TP20, TP21, TP23, TP24, TP32, TP33, TP34, TP35, TP36, TP37, TP38, TP39, TP40, TP41 Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. DS50003171A-page 34 2022 Microchip Technology Inc. and its subsidiaries AMERICAS 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 Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 Austin, TX Tel: 512-257-3370 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Novi, MI Tel: 248-848-4000 Houston, TX Tel: 281-894-5983 Indianapolis Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Tel: 317-536-2380 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Tel: 951-273-7800 Raleigh, NC Tel: 919-844-7510 New York, NY Tel: 631-435-6000 San Jose, CA Tel: 408-735-9110 Tel: 408-436-4270 Canada - Toronto Tel: 905-695-1980 Fax: 905-695-2078 Worldwide Sales and Service ASIA/PACIFIC Australia - Sydney Tel: 61-2-9868-6733 China - Beijing Tel: 86-10-8569-7000 China - Chengdu Tel: 86-28-8665-5511 China - Chongqing Tel: 86-23-8980-9588 China - Dongguan Tel: 86-769-8702-9880 China - Guangzhou Tel: 86-20-8755-8029 China - Hangzhou Tel: 86-571-8792-8115 China - Hong Kong SAR Tel: 852-2943-5100 China - Nanjing Tel: 86-25-8473-2460 China - Qingdao Tel: 86-532-8502-7355 China - Shanghai Tel: 86-21-3326-8000 China - Shenyang Tel: 86-24-2334-2829 China - Shenzhen Tel: 86-755-8864-2200 China - Suzhou Tel: 86-186-6233-1526 China - Wuhan Tel: 86-27-5980-5300 China - Xian Tel: 86-29-8833-7252 China - Xiamen Tel: 86-592-2388138 China - Zhuhai Tel: 86-756-3210040 ASIA/PACIFIC India - Bangalore Tel: 91-80-3090-4444 India - New Delhi Tel: 91-11-4160-8631 India - Pune Tel: 91-20-4121-0141 Japan - Osaka Tel: 81-6-6152-7160 Japan - Tokyo Tel: 81-3-6880- 3770 Korea - Daegu Tel: 82-53-744-4301 Korea - Seoul Tel: 82-2-554-7200 Malaysia - Kuala Lumpur Tel: 60-3-7651-7906 Malaysia - Penang Tel: 60-4-227-8870 Philippines - Manila Tel: 63-2-634-9065 Singapore Tel: 65-6334-8870 Taiwan - Hsin Chu Tel: 886-3-577-8366 Taiwan - Kaohsiung Tel: 886-7-213-7830 Taiwan - Taipei Tel: 886-2-2508-8600 Thailand - Bangkok Tel: 66-2-694-1351 Vietnam - Ho Chi Minh Tel: 84-28-5448-2100 EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4485-5910 Fax: 45-4485-2829 Finland - Espoo Tel: 358-9-4520-820 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - Garching Tel: 49-8931-9700 Germany - Haan Tel: 49-2129-3766400 Germany - Heilbronn Tel: 49-7131-72400 Germany - Karlsruhe Tel: 49-721-625370 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Germany - Rosenheim Tel: 49-8031-354-560 Israel - Ra'anana Tel: 972-9-744-7705 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Italy - Padova Tel: 39-049-7625286 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Norway - Trondheim Tel: 47-7288-4388 Poland - Warsaw Tel: 48-22-3325737 Romania - Bucharest Tel: 40-21-407-87-50 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 Sweden - Gothenberg Tel: 46-31-704-60-40 Sweden - Stockholm Tel: 46-8-5090-4654 UK - Wokingham Tel: 44-118-921-5800 Fax: 44-118-921-5820 DS50003171A-page 35 2022 Microchip Technology Inc. and its subsidiaries 09/14/21