© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 1 17104 MC2 Running BLDC Motors with the PIC16F1783 and the MCL
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 10 PSMC Clock 64 MHz clock input Separate clock domain Th
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 11 PSMC Simple or Complementary Single-Phase Waveform Single-Ph
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 12 PSMC Push-Pull PWM Mode
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 13 PSMC Push-Pull PWM with 4 Full-Bridge Outputs Mode
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 14 PSMC Pulse-Skipping PWM with Complementary Outputs Mode
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 15 PSMC ECCP Compatible Full Bridge PWM Mode
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 16 PSMC Variable Frequency Fixed Duty Cycle PWM with Complemen
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 17 PSMC Waveform 3 Phase PWM Mode
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 18 PSMC Registers PSMCxEN PSMCxLD PxDBFE PxDBRE PxMODE<3:0&
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 19 PSMC Registers - - PxCPRE<1:0> - - PxCSRC<1:0&
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 2 Class Agenda Working with the PSMC-Module Configuring the
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 20 PSMC Registers PxPHSIN - - - PxPHSC3 PxPHSC2 PxPHSC1 Px
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 21 PSMC Registers PxDCSIN - - - PxDCSC3 PxDCSC2 PxDCSC1 PxD
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 22 PSMC Registers PxPRSIN - - - PxPRSC3 PxPRSC2 PxPRSC1 Px
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 23 Working with the PSMC-Designer
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 24 Yes, there is a GUI and it looks like:
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 25 PSMC-Designer Select Device PIC16F1783 Select PSM-Modu
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 26 After selecting the MCU and selecting the Module Click on th
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 27 Same for the Timer
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 28 Blanking Adjustments
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 29 Adjust the Period to 16kHz, no Interrupt
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 3 Class Objectives When you walk out of this class you will….
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 30 To prevent Shortcuts, adjust a slight Delay for the Rising
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 31 With the Falling Event you can adjust the Duty-Cycle @ 50%
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 32 In this case, no modulation is needed
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 33 Select 3PH with Starting Condition @ Phase 1
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 34 Select the Outputs to be controlled and the Shutdown Conditi
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 35 For the first Test disable Autoshutdown
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 36 In the end, it should look like this:
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 37 Lab 1: Let’s spin the Motor
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 38 Lab 1 Objectives Give quick look at the demo board Show
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 39 First Result of the Observation What about the Efficiency?
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 4 Are you ready to Spin ?
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 40 Lab 1 Summary PSMC can be adjusted by a GUI Motor Runs a
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 41 POP Quiz! What is the max speed of the PWM Oscillator? 3
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 42 Advanced Analog Peripherals
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 43 Advanced Analog High-Speed Comparators Response time 5
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 44 Advanced Analog Improved FVR Consists of two parts Ref
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 45 8-bit DAC FVR VDD DACOUT1 ADC Comparator R(254) R(255) VSRC
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 46 12-Bit ADC 12-bit ADC Up-to 11 input channels 5 diff
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 47 Lab 2: How to capture BEMF-Signals
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 48 BEMF Capturing Comparison BEMF and Vbus/2 Creating a virtual
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 49 Analyzing BEMF
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 5 Working with the PSMC Module
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 50 Scope Picture
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 51 Lab 1 & 2 Summary Today we covered: Easy spinning of
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 52 Lab 3: Adjusting Controls during Runtime
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 53 Lab 3 Summary Today we covered: Every Motor is possible
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 54 Additional Resources AN1160 Sensorless BLDC with dsPIC® DS
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 55 Dev Tools For This Class DV244005 MPLAB® REAL ICE™ In-circ
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 56 LEGAL NOTICE SOFTWARE: You may use Microchip software exclu
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 6 Class Agenda Working with the PSMC-Module Lab 1- Get the
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 7 PSMC Features PSMC Output Modes Single PWM Up to 6 ste
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 8 PSMC Introduction Comparator External Pin Input Sources PSMC
© 2013 Microchip Technology Incorporated. All Rights Reserved. 17104 MC2 Slide 9 PSMC – Block Diagram
Comentarios a estos manuales