background image

dsPIC33CK Low-Voltage Motor Control Board User’s Guide

DS50002927A-page 12

 2020 Microchip Technology Inc.

NOTES:

Summary of Contents for DM330031

Page 1: ...2020 Microchip Technology Inc DS50002927A dsPIC33CK Low Voltage Motor Control Board User s Guide...

Page 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...

Page 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...

Page 4: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 4 2020 Microchip Technology Inc NOTES...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 12: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 12 2020 Microchip Technology Inc NOTES...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 54: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 54 2020 Microchip Technology Inc NOTES...

Page 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...

Page 56: ...dsPIC33CK Low Voltage Motor Control Board User s Guide DS50002927A page 56 2020 Microchip Technology Inc NOTES...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: