Motor Contro Thorsten Wacawczyk Principa Fied Appication Engineer 1
Industry Trends: PMSM motors Higher efficiency and environment friendy Energy efficiency reguations appiances Battery ife power toos, drones Lower noise Consumer demand appiances, HVAC, auto Higher reiabiity Automotive appications Reduced maintenance costs Performance Higher speed & torque drones, power toos Smaer form factor, weight reduction Controer / motor integration, consumer appications 2
Microchip s Precision Motor Contro High-performance dspic DSC and PIC32 MCU cores DSP instruction enhancements Efficiency, Performance Speed and torque contro Efficiency, Reiabiity Fied oriented contro Efficiency, Low Noise Sensoress contro Lower BOM cost Optimized peripheras & features Fexibe, high resoution PWMs Efficiency, Low noise Inteigent high-speed ADC Efficiency Integrated op-amps and comparators Lower BOM cost Dua motor contro capabiities Lower BOM cost Functiona safety features & Cass B SW System Reiabiity, BOM Deveopment toos, software agorithms and how-to BLDC, PMSM, ACIM motor support Reduce time-to-market Sensoress Fied Oriented Contro Lower BOM cost 3
Motor Contro Evoution Increasing performance and integration dspic33e 70 MIPS Improved PWM 12- bit ADC Op-Amps 32 512KB fash 5x5 mm package dspic33c 100+ MIPS Improved MC PWM Dua dspic DSC cores Integrated PGA Mutipe high speed ADCs >3 Msps 12-bit DAC Dead-Man Timer PIC32MK 32-bit core 100MHz / 125 DMIPS DSP and FPU Improved MC PWM Op-amps Up to 7 12-bit ADCs, >3 Msps 12-bit DAC 4
Motor Contro Deveopment Boards Low Votage Deveopment Board Low votage output, 48V/15A Singe motor contro with sensor input CAN, LIN, and UART ports High Votage Deveopment Board 110/220VAC input, 1kWatt/400V Integrated PFC stage Singe motor contro with sensor input Isoated USB, UART, and programmer/debugger Low Votage MC Bunde Separate contro and power boards Aows for customer deveoped power boards Power board supports dua motor drive Part # DV330100 5
MPLAB 16/32-Bit Device Bocks for Simuink MPLAB Device Bocks for dspic DSC and PIC32MK Content System Configuration Digita IO Anaog IO PWM IO BUS UART 6
Code Generation and Integration CAN/LIN PB PB contro agorithm mode PB PB motor mode UART A singe mode is used for simuation and code generation. Environment Controers seect between Simuation and code generation. Agorithm is deveoped in the datatype that is used on the uc. target dspic DSC PIC32MK Code Generation MATLAB/Simuink motor PB...periphera bock 7
Motor Contro Library optimized MC ibrary functions for FOC: transformations: park, cark, inv. cark, inv. park PI controer atan, sin, cos etc. Simuink mode for simuation and ASM ibrary for code generation for maximum performance on the target 8
It can be so simpe Simuation contro motor oad Code Generation Programing Vaidation Seamess integration in Simuink no additiona IDE needs to be touched picgui: high speed data visuaisation records up to 7 signa at 20kHz reatime 9
Automotive Communication Interfaces CAN/LIN support for MATLAB CAN appication contro certified LIN Stack from IHR (www.ihr.de) Microchip CAN driver PC UART MC debugging CAN/LIN debugtoos: K2L MOCCA box (www.k2.de) 10
CAN/LIN support for MATLAB motor contro CAN or LIN communication 11
CAN/LIN support for MATLAB simuatabe CAN/LIN messages 12
video 13
Take aways Rapid Prototyping inc. existing C-ibraries Automotive appication deveopement Seamess integration with Simuink environment 14
The Microchip name and ogo, the Microchip ogo, AnyRate, dspic, FashFex, fexpwr, Hedo, JukeBox, KeeLoq, KeeLoq ogo, Keer, LANCheck, LINK MD, MediaLB, MOST, MOST ogo, MPLAB, OptoLyzer, PIC, PICSTART, PIC32 ogo, RightTouch, SpyNIC, SST, SST Logo, SuperFash and UNI/O are registered trademarks of Microchip Technoogy Incorporated in the U.S.A. and other countries. CockWorks, The Embedded Contro Soutions Company, ETHERSYNCH, Hyper Speed Contro, HyperLight Load, InteiMOS, mtouch, Precision Edge, and QUIET-WIRE are registered trademarks of Microchip Technoogy Incorporated in the U.S.A. Anaog-for-the-Digita Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipkit, chipkit ogo, CodeGuard, dspicdem, dspicdem.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Seria Programming, ICSP, Inter-Chip Connectivity, JitterBocker, KeerNet, KeerNet ogo, MiWi, motorbench, MPASM, MPF, MPLAB Certified ogo, MPLIB, MPLINK, MutiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtai, PureSiicon, RightTouch ogo, REAL ICE, Rippe Bocker, Seria Quad I/O, SQI, SuperSwitcher, SuperSwitcher II, Tota Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireess DNA, and ZENA are trademarks of Microchip Technoogy Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technoogy Incorporated in the U.S.A. Siicon Storage Technoogy is a registered trademark of Microchip Technoogy Inc. in other countries. GestIC is a registered trademarks of Microchip Technoogy Germany II GmbH & Co. KG, a subsidiary of Microchip Technoogy Inc., in other countries. 15