Microchip Technology dsPIC33EP32MC204 User Manual
Microchip Technology dsPIC33EP32MC204 User Manual

Microchip Technology dsPIC33EP32MC204 User Manual

Drone propeller
Hide thumbs Also See for dsPIC33EP32MC204:

Advertisement

Quick Links

dsPIC33EP32MC204 Drone Propeller Reference Design
User's Guide

Introduction

Overview

The reference design is a low-cost evaluation platform targeted for quad copter/drone applications with
propellers driven by Three-Phase Permanent Magnet Synchronous or Brushless motors. This design is based
on a Microchip dsPIC33EP32MC204 DSC motor control device.
Figure 1. dsPIC33EP32MC204 Drone Motor Controller Reference Design
 User Guide
DS70005545B -
1
©
2023 Microchip Technology Inc. and its subsidiaries

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the dsPIC33EP32MC204 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology dsPIC33EP32MC204

  • Page 1: Introduction

    The reference design is a low-cost evaluation platform targeted for quad copter/drone applications with propellers driven by Three-Phase Permanent Magnet Synchronous or Brushless motors. This design is based on a Microchip dsPIC33EP32MC204 DSC motor control device. Figure 1. dsPIC33EP32MC204 Drone Motor Controller Reference Design  User Guide...
  • Page 2: Features

    Figure 2. dsPIC33EP32MC204 Drone Motor Controller Reference Design Features Key features of the Reference Design are as follows: • Three-Phase Motor Control Power Stage • Phase Current Feedback Via Two-Shunt Method for Higher Performance • Phase Voltage Feedback to Implement Sensorless Trapezoidal Control or Flying Start •...
  • Page 3: Block Diagram

    Motor Input Terminals Terminals VDC and U,V,W 10-16 VDC Motor The various hardware sections of the reference design are shown in Figure Figure 5 and summarized in Table  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 4 Hardware Section Three-Phase Motor Control Inverter dsPIC33EP32MC204 and Associated Circuit MCP8027 MOSFET Driver CAN Interface Current Sensing Resistors Serial Communication Interface Header ICSP ™ Header User Interface Header  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 5 ...continued Section Hardware Section DE2 MOSFET Driver Serial Interface Header  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 6: Table Of Contents

    Appendix C – Bill of Materials (BOM)........................24 C.1. Bill of Materials..............................24 D. Appendix D – Test Results............................26 Microchip Information............................... 27 Trademarks.................................. 27 Legal Notice..................................27 Microchip Devices Code Protection Feature......................28  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 7: Board Interface Description

    • Supplying Input Power to the Smart Drone Controller Board. • Delivering Inverter Outputs to the Motor. • Enabling the User to Program/Debug the dsPIC33EP32MC204 Device. • Interfacing to the CAN Network. • Establishing Serial Communication with the Host PC.
  • Page 8 Table 1.4. Header P2 Pin Description Pin # Signal Name Pin Description INPUT_FMU_PWM Digital signal – PWM 50Hz, 3-5Volts, 4-85% AD SPEED Analog signal – 0 to 3.3V  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 9: User Interface

    The external controller has its own potentiometer and 7-segment LED display. The potentiometer can be used to adjust the desired speed by changing the PWM duty cycle that can be varied from 4% to 85% in three ranges.  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 10: Dspic ® Digital Signal Controller (Dsc) Pin Functions

    ® 1.4. dsPIC Digital Signal Controller (DSC) Pin Functions The on-board dsPIC33EP32MC204 device controls the reference design's various features through ® its peripherals and CPU capability. Pin functions of the dsPIC DSC are grouped according to their functionality and presented in Table 1.9.
  • Page 11: Mosfet Driver Pin Functions

    3.3V out PWM Output PWM3H PWM3H Refer to device data sheet for Gate control logic more details. PWM3L PWM3L PWM2H PWM2H PWM2L PWM2L PWM1H PWM1H PWM1L PWM1L  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 12 Low side MOSFET Phase C Digital I/O MotorGateDrv_CE Communication port Enables the MC8027 MOSFET driver MotorGateDrv_ILIMIT_OUT ILIMIT_OUT Motor Control Unit Overcurrent digital signal ( Active low) No Connects  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 13 Board Interface Description ...continued Signal MCP8027 Pin MCP8027 MCP8027 Function block Remarks Number Pin Function LV_OUT1 LV_OUT2 HV_IN1 HV_IN2  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 14: Hardware Description

    A voltage reference with a buffered output for 3.3V/2 provides for noise-free zero reference for the current sense circuits. See Schematics section Figure A.4 for details.  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 15: Hardware Connections

    • A Battery Power Source of 11-14V and 1500 mAH Capacity Any compatible make or model can be used to replace the ones shown here for successful operation.  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 16 Figure 2.2. 5V switching regulator Figure 2.3. PWM Controller Figure 2.4. BLDC Motor: DJI 2312 Figure 2.5. Battery  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 17 Use the “Pulse Width” button to select between three levels of speed control. The switch cycles through three ranges for PWM duty cycle output with each press. Range 1: 4-11% Range 2: 10-27.5% Range 3: 20-85%  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 18 Connect the power supply. The propeller action will exert force against the hand when spinning; a firm grip is essential to prevent bodily injury. Tweak the potentiometer to change the speed (display indicates between 1573 and 1931).  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 19 Hardware Description Figure 2.9. Propeller Mount Figure 2.10 shows the overall wiring setup for the demonstration. Figure 2.10. Propeller Wiring Setup  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 20: Appendix A - Schematics

    Appendix A – Schematics Appendix A – Schematics A.1. Board Schematics This section provides schematics diagrams of the dsPIC33EP32MC204 Drone Propeller Reference Design. The reference design uses a four-layer FR4, 1.6 mm, Plated-Through-Hole (PTH) construction. Table A.1 summarizes the schematics of the Reference Design.
  • Page 21 PGND C27 0.01uF 300R W_Motor Phase A and B Op-Amp Gain and Biasing Circuit VREF VREF VPHASEA+ I_SENSE2+ VPHASEB+ I_SENSE3+ 100pF 100pF PHASE- I_SENSE2- I_OUT2 PHASE- I_SENSE3- I_OUT3  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 22 TPHR8504 TPHR8504 300K 300K 300K U_Motor V_Motor W_Motor NMOS4 NMOS5 NMOS6 TPHR8504 TPHR8504 TPHR8504 TPHR8504 TPHR8504 TPHR8504 100K 100K 100K VPHASEA+ VPHASEB+ 0.010ohm 0.01ohm PHASE- 电 池负极 PGND  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 23: Appendix B - Electrical Specifications

    Appendix B – Electrical Specifications Appendix B – Electrical Specifications B.1. Introduction This section provides the electrical specifications for the dsPIC33EP32MC204 Drone Motor Controller Reference Design (see Table B.1). Table B.1. Electrical Characteristics Parameter Operating Range Input DC Voltage 10-14V...
  • Page 24: Appendix C - Bill Of Materials (Bom)

    0R 1% 0805 bead 1R 0603 18K 1% 0603 4.99R 1% 0603 11K 1% 0603 30K 1% 0603 R33, R34, R47, R50 300R 1% 0603 R35, R44, R55  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 25 R41, R53, R56 10K 1% 0603 R43, R52 1k 1% 0603 330R 1% 0603 R58, R59 DSPIC33EP64MC504-I/PT TQFP44 MCP8027-48L TQFP48 2 PIN-68016-106HLF P1, P2, P3 5 PIN-68016-106HLF ISP1 6 PIN-68016-106HLF  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 26: Appendix D - Test Results

    4140 0.45 4500 0.58 6.96 5265 0.77 9.24 5850 0.98 11.76 6045 1.04 12.48 7125 1.55 18.6 8250 2.28 27.36 9375 3.25 Figure D.1. Speed vs. Input Power  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...
  • Page 27: Microchip Information

    The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom 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.
  • Page 28: Microchip Devices Code Protection Feature

    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.  User Guide DS70005545B - © 2023 Microchip Technology Inc. and its subsidiaries...

Table of Contents