background image

dsPIC33CK Low-Voltage Motor Control Board User’s Guide

DS50002927A-page 8

 2020 Microchip Technology Inc.

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

PRODUCT 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 website at 

www.microchip.com

, click on 

Product 

Change Notification

 and follow the registration instructions.

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or FAE for support. Local 
sales offices are also available to help customers. A listing of sales offices and loca-
tions is included in the back of this document.
Technical support is available through the website at: 

http://support.microchip.com

.

DOCUMENT REVISION HISTORY

Revision A (March 2020)

This is the initial released version of this document.

Содержание DM330031

Страница 1: ...2020 Microchip Technology Inc DS50002927A dsPIC33CK Low Voltage Motor Control Board User s Guide...

Страница 2: ...may have a right to sue for relief under that Act Trademarks The Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTime BitCloud chipKIT chipKIT logo CryptoMemory...

Страница 3: ...ard Connectors 13 2 3 User Interface Hardware 19 2 4 Pin Functions of the dsPIC DSC 25 Chapter 3 Hardware Description 29 3 1 Introduction 29 3 2 Hardware Sections 29 Appendix A Schematics and Layout 4...

Страница 4: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 4 2020 Microchip Technology Inc NOTES...

Страница 5: ...re sections of the board Appendix A Schematics and Layout This appendix provides board schematics and layout Appendix B Electrical Specifications This appendix summarizes the electrical specifications...

Страница 6: ...e Save Bold characters A dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in...

Страница 7: ...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 F...

Страница 8: ...ffices distributors and factory representatives PRODUCT CHANGE NOTIFICATION SERVICE Microchip s customer notification service helps keep customers current on Microchip products Subscribers will receiv...

Страница 9: ...e dsPIC33CK256MP508 This dsPIC DSC features a 100 MIPS single core 16 bit DSC with enhanced on chip peripherals such as High Resolution PWM HRPWM 12 bit high speed ADC cores analog comparators with DA...

Страница 10: ...struction Algorithm DC Bus Voltage Feedback for Overvoltage Protection Phase Voltage Feedbacks to Implement Sensorless Trapezoidal Control Hall Sensor Interface Quadrature Encoder Interface QEI On Boa...

Страница 11: ...hree Phase Inverter Bridge Phase Current Sensing Shunts MCP9700 Temp Sensor for Thermal Protection Bus Current Sensing Shunt Speed Position Feedbacks Quadrature Encoder Interface Hall Sensor Interface...

Страница 12: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 12 2020 Microchip Technology Inc NOTES...

Страница 13: ...f the dsPIC DSC 2 2 BOARD CONNECTORS This section summarizes the connectors on the Motor Control Board The connectors are intended for Supplying input power to the Motor Control Board Delivering inver...

Страница 14: ...sert J8 6 Populated Quadrature Encoder Interface terminal connector 2 54 mm pitch 20 30 AWG wire insert J9 2 Not Populated External temperature sensor thermistor interface connector 2 5 mm pitch J10 6...

Страница 15: ...up to 2 5A and connector J2 can handle up to 24A Table 2 2 and Table 2 3 summarize the pin assignments of connectors J1 and J2 respectively TABLE 2 2 PIN DESCRIPTION CONNECTOR J1 TABLE 2 3 PIN DESCRI...

Страница 16: ...or outputs with the Motor Control Board enabling sensor based BLDC motor control applications Table 2 6 shows the pin descriptions of connector J7 The connector provides two supply outputs 5V and 3 3V...

Страница 17: ...hen needed populate the connector with Part Number B2B EH A LF SN or similar 2 2 7 ICSP Header for Programmer Debugger Interface J10 The 6 pin header J10 can be used for connecting the programmer debu...

Страница 18: ...he mikroBUS sockets refer to the schematics in Section A 1 Board Schematics and Layout or Section 2 4 Pin Functions of the dsPIC DSC 2 2 9 USB Connector for PKOB Interface J13 This is a standard femal...

Страница 19: ...Red Power on status indication connected to auxiliary supply output 3 3V LD4 Green Indicates PWM1H PWM_AH used for controlling top MOSFET of the inverter Half Bridge A LD5 Green Indicates PWM1L PWM_AL...

Страница 20: ...the motor The functions of these push buttons are defined by the motor control application firmware FIGURE 2 4 PUSH BUTTONS dsPIC33CK LOW VOLTAGE MOTOR CONTROL BOARD TABLE 2 12 PUSH BUTTONS SI Push B...

Страница 21: ...page 21 2 3 3 Potentiometer The potentiometer on the Motor Control Board shown in Figure 2 5 is connected to one of the analog inputs of the device and can be used for setting the speed reference FIG...

Страница 22: ...tages motor currents auxiliary supply outputs etc These test points are marked in Figure 2 6 and summarized in Table 2 13 FIGURE 2 6 TEST POINTS dsPIC33CK LOW VOLTAGE MOTOR CONTROL BOARD DGND 12V 5V P...

Страница 23: ...current feedback of inverter IB IB Internal Amplifier dsPIC33CK256MP508 Op Amp 2 output of Phase B leg current feedback of inverter IB_EXT IB_EXT External Amplifier MCP6024 U5B output of Phase A leg...

Страница 24: ...C Feedback connected to dsPIC DSC input Quadrature Encoder Feedbacks QEI_A QEI_A Quadrature Encoder A Feedback connected to dsPIC DSC input QEI_B QEI_B Quadrature Encoder B Feedback connected to dsPI...

Страница 25: ...edicated ADC Core 0 Differential current feedback from shunt resistor Rsh1 connects to noninverting and inverting inputs of Op Amp 1 through input resistors SHUNT_IA_N 18 OA1IN ANA1 RA1 IA 16 OA1OUT A...

Страница 26: ...A 30 AN17 ANN1 IBIAS1 RP54 PMD12 PMA12 RC6 Shared ADC Core Phase A voltage feedback V_B 19 AN23 RE3 Shared ADC Core Phase B voltage feedback V_C 17 AN22 RE2 Shared ADC Core Phase C voltage feedback Te...

Страница 27: ...eral purpose input or output TP13 79 RE15 Test point TP13 can be optionally used as a general purpose input or output Click Board Socket A Signals J11 CLICK_AN_A 4 AN21 RE1 Analog Channel or GPIO Clic...

Страница 28: ...M or GPIO CLICK_SCK_B 46 RP56 ASDA1 SCK2 RC8 Dedicated SPI 2 Pins CLICK_MISO_B 49 RP72 SDO2 PCI19 RD8 CLICK_MOSI_B 47 RP57 ASCL1 SDI2 RC9 CLICK_SDA_B 63 RP52 PWM5H ASDA2 RC4 Alternate I2 C Data and Cl...

Страница 29: ...s current and phase currents etc In addition a USB UART interface mikroBUS sockets and a PICkit On Board PKOB programmer debugger circuit are provided The motor control inverter can be operated by usi...

Страница 30: ...4 4 1 8 4 4 3 6 7 2 5 Section No Hardware Sections 1 dsPIC33CK256MP508 and Auxiliary Circuits 2 Power Supply 3 Three Phase Inverter Bridge 4 Current Sensing Circuits 5 Voltage Sensing Circuit 6 Hall S...

Страница 31: ...can be used for detecting overcurrent or overtemperature Faults to protect the inverter or motor in case of malfunction The dsPIC DSC has three operational amplifiers These can be configured by connec...

Страница 32: ...J12 The fixed 3 3V LDO MCP1826 generates 3 3V which powers all logical circuits including the dsPIC33CK256MP508 operational amplifiers mikroBUS sockets USB to UART converter user interface elements t...

Страница 33: ...tion and amount of negative voltage on the switch node a different resistor and diode can be selected For more information refer to the MIC4605 Data Sheet DS20005853 at www microchip com 3 2 4 Current...

Страница 34: ...connections between the external amplifiers and the dsPIC DSC analog peripherals including internal amplifiers comparator ADC etc The Motor Control Board enables phase and bus current ampli fication t...

Страница 35: ...or IA_EXT R125 R121 R121 R125 In internal amplifier configuration configure and enable Op Amp 1 OA1 In external amplifier configuration ensure internal amplifier Op Amp 1 OA1 is disabled Amplified Pha...

Страница 36: ...5B Phase B Current Phase B Current VREF 1 65V U5C Phase C Current Phase C Current VREF 1 65V U15 MCP651S Bus Current Bus Current VREF 1 65V CMP1 CM MP OA1 dsPIC33CK256MP508 Phase A Current Phase A Cur...

Страница 37: ...ed the voltage limits of the dsPIC DSC inputs 3 2 6 Hall Sensor Quadrature Encoder Interface The Motor Control Board can also be used to run PMSM BLDC motor control applications using the Hall sensor...

Страница 38: ...r B2B EH A LF SN or similar and components R98 R93 and C57 appropriately FIGURE 3 6 EXTERNAL TEMPERATURE INTERFACE CIRCUIT 3 2 8 User Interface The dsPIC33CK Low Voltage Motor Control Board user inter...

Страница 39: ...serial converters As shown in Figure 3 7 the UART Tx and Rx signals between the dsPIC33CK256MP508 are connected to J3 Pins 2 and 3 When interfacing an external USB to UART converter through connector...

Страница 40: ...microchip in cate gories such as wireless connectivity Wi Fi Bluetooth LoRa sensors inductive position sensors remote temperature thermocouple ECG IrDA interfaces CAN LIN Ethernet DALI EtherCAT mixed...

Страница 41: ...Motor Control Board is connected to the host PC via the USB Micro B connector J13 No custom USB driver installation is necessary as the PKOB relies on standard OS provided Human Interface Device HID d...

Страница 42: ...olated from the input supply connected to the Motor Control Board The debugger may need to be forced into Recovery Boot mode reprogrammed in rare situations In such situations to use the Hardware Tool...

Страница 43: ...of 8 dsPIC33CK256MP508 Interconnections MCLR Reset ICSP Header dsPIC DSC Operational Amplifiers for amplifying Bus Current and Phase Currents Figure A 3 3 of 8 1 65V Voltage Reference Buffer External...

Страница 44: ...100V C21 10 F 25V C23 10 F 25V C31 82R R13 4 7R R17 120 pF 100V C33 MBRA140T3G D3 52 3k R14 10k R18 1 21R R2 2 2 F 10V C1 2 2 F 10V C3 100k R8 100k R7 DNP R11 1 21R R5 2 2 F 100V C15 22 F 100V C13 BA...

Страница 45: ...CMP3A RP39 SDA3 RB7 58 RE11 59 PGD1 AN10 RP40 SCL1 RB8 60 PGC1 AN11 RP41 SDA1 RB9 61 RE12 62 RP52 PWM5H ASDA2 RC4 63 RE13 64 RP53 PWM5L ASCL2 PMWR PMENB PSWR RC5 65 RP58 PWM7H PMRD PMWR PSRD RC10 66 R...

Страница 46: ...1 F C71 0 1 F C72 1000 pF C70 0 1 F C75 20R R118 DNP C74 V 301R R83 V_BUS DC Bus Voltage VDC 3 3k R87 0 1 F C52 V_A V_B Phase Voltage Feedbacks PHASE_A PHASE_B V_C PHASE_C 3 3k R86 VB 301R R82 3 3k R8...

Страница 47: ..._CH PWM_CL DNP C132 2 2 F 100V C124 DNP C125 DNP C135 DNP C130 DNP C133 DNP C131 DNP C134 2 2 F 100V C126 DNP C127 2 2 F 100V C128 DNP C129 PGND PGND PGND PGND 12V 2 74R R195 2 74R R196 2 74R R192 DNP...

Страница 48: ...0 USB Micro B TH SMT J6 4 7k R153 VDD 1 OSC1 2 OSC2 3 RST 4 GP7 TxLED 5 GP6 RxLED 6 GP5 7 GP4 8 GP3 9 TX 10 RTS 11 RX 12 CTS 13 GP2 14 GP1 15 GP0 16 VUSB 17 D 18 D 19 VSS 20 MCP2200 U13 2 3 1 12 MHz...

Страница 49: ...der Interface 3 3V 3 3V DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND 1 2 3 4 5 6 TERMINAL 1x6 J7 1 2 3 4 5 6 TERMINAL 1x6 J8 DNP R202 DNP R201 DNP R52 100R R173 100R...

Страница 50: ...XD2 36 PD27 PWMC0_PWML3 SPI0_NPCS3 TWD2 32 PD28 URXD3 CANRX1 TWCK2 51 PD30 UTXD3 23 PD31 QIO3 UTXD3 PCK2 2 HSDP 95 HSDM 94 NRST 58 TST 60 JTAGSEL 73 VREFP 9 VREFN 6 VBG 97 U4A UTIL_SDA UTIL_SCL ERASE...

Страница 51: ..._MISO ICSP_SPI0_SPCK ICSP_SCK SCK_IN ICSP_SDO ICSP_SDI ISP_SPI1_SPCK 4 7k 0402 1 R38 4 7k 0402 1 R39 V MCLR DATA_EN CLK_EN 3 3k 0402 1 R32 3 3k 0402 1 R33 VPP_ON 74LVC1T45GW DIR 5 A 3 B 4 GND 2 VCCA 1...

Страница 52: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 52 2020 Microchip Technology Inc FIGURE A 9 TOP LAYER TOP SILK AND TOP COPPER FIGURE A 10 MID LAYER 1 COPPER...

Страница 53: ...Schematics and Layout 2020 Microchip Technology Inc DS50002927A page 53 FIGURE A 11 MID LAYER 2 COPPER FIGURE A 12 BOTTOM LAYER BOTTOM SILK AND BOTTOM COPPER...

Страница 54: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 54 2020 Microchip Technology Inc NOTES...

Страница 55: ...thermal limits when operating with continuous output currents of up to 10A RMS while operating in the permissible voltage range 2 At an ambient temperature 25 C it is possible to increase the continuo...

Страница 56: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 56 2020 Microchip Technology Inc NOTES...

Страница 57: ...Circuits used for amplifying motor phase currents and DC bus current using external amplifiers U5 A U5 B U5 C and U15 are shown in Figure C 2 The detailed schematics of the block Filter Feedback and...

Страница 58: ...s Circuit Filter Feedback and Bias Circuit Filter Feedback and Bias Circuit MCP6024 IB_EXT IA_EXT IC_EXT VREF VREF VREF SHUNT_IC_N SHUNT_IC_P SHUNT_IB_N SHUNT_IB_P SHUNT_IA_N SHUNT_IA_P Op Amp B Op Am...

Страница 59: ...equations to calculate cutoff frequencies of the Differential mode and Common mode filters EQUATION C 1 AMPLIFIER GAIN EQUATION C 2 CUTOFF FREQUENCY DIFFERENTIAL MODE FILTER EQUATION C 3 CUTOFF FREQU...

Страница 60: ...rd operating range TABLE C 1 EXAMPLE CONFIGURATION AMPLIFIER GAIN VS PEAK CURRENT Table Summarizes Amplifier Gains and Peak Currents for Various Values of RF when RIN1 62R RIN2 470R RSHUNT 0 01R RF Am...

Страница 61: ...utput Voltage labeled as 12V 12V FIGURE C 5 12V POWER SUPPLY CIRCUIT VIN 12V 12V Output DC DC Converter MIC28511 PGND 5V 5V Output DC DC Converter MCP16301 DGND 3 3 VA 3 3V Output LDO MCP1826 AGND 3 3...

Страница 62: ...In the Motor Control Board D1 is selected as BAT46W R2 is set as 10 and C2 is selected as 0 1 F to hold a charge for approximately 1 25 Sec In order to have some amount of voltage ripple at the volta...

Страница 63: ...R SUPPLY The component values used in this circuit are listed in Table C 2 and were chosen using Equation C 4 with VBUCK 5V VFB 0 8V and K 0 22V H EQUATION C 4 TABLE C 2 5V POWER SUPPLY COMPONENT VALU...

Страница 64: ...t resistor RBOOST refer to AN1466 Reduction of the High Frequency Switching Noise in the MCP16301 High Voltage Buck Converter DS01466 application note C 3 3 3 3V Output Power Supply The second stage o...

Страница 65: ...echnology Inc DS50002927A page 65 FIGURE C 7 3 3V POWER SUPPLY VIN VOUT 5V C100 10 F C101 10 F C102 0 1 F C103 0 1 F C104 10 F C105 10 F C106 0 1 F VIN VOUT GND U12 MCP1826S 3 3V 1 3 2 DGND R19 0R 080...

Страница 66: ...00 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...

Отзывы: