Industrial Motor Control Roadmap FTF-IND-F0761 Raul Hernandez Arthur

June, 2010 Industrial Motor Control Roadmap FTF-IND-F0761 Raul Hernandez Arthur Microcontroller Solutions Group - Motor Control Market Lead Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM Motor Control Target Applications ► Pumps and fans • pool pumps, factory systems ► HVAC • heating fans, air-conditioners ► Industrial drives • Manufacturing assembly, robotics, wind turbines, printing presses ► Appliances • washers, dryers, power tools ► Medical • scanners, pumps, diagnostic and therapy ► Automotive Motor Control Trends • • Fuel/Water pumps, HVAC Fan Control, Window lift Increasing adoption of electric and hybrid vehicles continues to drive BLDC demand Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 2 2 Motor Control – Market Trends ►Market Trend ►Customer Reduce power consumption ► Reduce system and development cost ► Reuse software, hardware and tools across platforms ► Cost-effective safety, reliability and security ► ► ► ► ► ► ► ► ► Requirements Intelligent motor control improves efficiency by 30 percent or more Implement variable speed motor control with inverter-based drive systems Smarter systems to sense environment and react in real time More on-chip peripherals to reduce component count Libraries and reference designs for common functions Expert customer support Support multiple motor types with one unified platform Ease software migration across wide performance range Tools to develop increasingly complex algorithms IEC regulatory approval requires single-bit failure detection On-chip protection against IP cloning and network data hacking Easier product certification to meet safety standards Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 3 3 Motor Control – Freescale Alignment with Trends ►Market Trend ►Freescale Alignment with Customer Requirements Reduce power consumption ► Vector and sensorless control technology designed into every motor control processor Reduce system and development cost ► 8- and 16-bit MCUs start at <$0.70 16-bit DSCs for ACIM and PMSM solutions 32-bit Power Architecture® MCUs for standard/premium drives Reuse software, hardware and tools across platforms ► ► ► ► ► ► Cost-effective safety, reliability and security ► ► ► Rich tools, training, reference designs and libraries Devices are ruggedized with long life and reliability Industrial products ship 10+ years, with high quality and expert customer support Secure SRAM, on-chip data fusing to protect against IP cloning Hardware encryption to protect against network data hacking Watchdog and ECC protection against soft errors Certified IEC software modules Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 4 4 Freescale Product Longevity Program ► The embedded market needs long-term product support ► Freescale has a longstanding track record of providing long-term production support for our products ► Freescale offers a formal product longevity program • A broad range of devices are made available for a minimum of 10 or 15 years from the time of launch • Participating Freescale products are listed at www.freescale.com/productlongevity Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 5 Industrial Motor Control Solutions Freescale Motor Control Processors Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 6 Motor and Motion Control Motor control needs specialized timers and performance is highly dependent upon the control algorithm used ►For small motors and appliances use MC9S08 8-bit controllers ►For higher performance in fractional horsepower motors use cost-effective MC56F8xxx 16-bit digital signal controllers ► For larger motors needing high performance use ColdFire® processors with eTPU ► For large motors or very complex motion control, use processors built on Power Architecture™ technology Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 7 Typical Motor Control MCU Peripheral Functions ►Timer: • • • • • PWM signals < 20Khz Dead time insertion Commutation (mask-out) ADC triggering Fault control Measure current ►Delay • block Set ADC measurement at specific times ►Position • 6 ch PWM timer Fault inputs ►ADC • Position decoder Prog delay 12 bit ADC decoder Quadrature decoder inputs if not sensorless Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 8 Motor Control Roadmap Hi-end –DSP, 32-bit 8bit MPC5604P MCU / MPU 16bit 56F82xx 56F802x / 3x 32bit Mid Range – 3-phase sensorless (vector control) 16-bit DSP 56F801x 56F800x 51AC Low-end to 8-bit, Low-end 32-bit 3-phase senHi-end sored (V/Hz, Slip) S08MP16 S08AC S08SH S08SF Ultra Low End – Low End 8Bit S08QD4 MC33991 Dual Gauge Driver MM908E626 Stepper Motor Driver w/ LIN MC33879 MPC17C724 0.4 Amp Dual H-Bridge Motor Octal Serial Switch with Open Load Detect Current Disable MC33999 MC33937 16-Output Switch with SPI and PWM Control Three Phase Field Effect Transistor Pre-driver Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. Analog Portfolio TM 9 MC9S08MP16 Enabling Safe, Accurate and Inexpensive BLDC Motor Control http://www.freescale.com/S08MP16 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 10 Brushless DC (BLDC) Motor Market Landscape The S08MP16 8-bit MCU delivers safe, accurate, and inexpensive brushless DC (BLDC) motor control for a wide range of industrial and automotive applications. BLDC Market ►Growing in popularity due to advantages over traditional brushed DC & induction motors, which include: ►Higher speed ranges ►High efficiency & dynamic response ►Increased reliability / longer lifespan ►Quieter operation and higher ratio of torque to motor size Industrial Motor Control Trends Automotive Motor Control Trends ►Reduced power consumption ►BLDC segment is the fastest growing ►Reduced system & development cost automotive motor control segment – expected growth from 127m # in 2008 to 292m # in 2016 ►Reuse of software, hardware and tools across motor platforms ►Applications include Fuel/Water pumps, HVAC Fan Control, Window lift. ►System safety & reliability Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. ►Increasing adoption of electric & hybrid vehicles will continue to drive BLDC demand TM 11 MC9S08MP16: Key Messages The S08MP16 8-bit MCU delivers safe, accurate, and inexpensive Brushless DC motor control for a wide range of Industrial and Automotive applications. Safe Motor Control Rich Analog Integration Broad Development Support Safe motor operation and increased system integrity for safety-critical applications. Rich on-chip peripheral integration minimizes BOM costs and delivers precise system control. Extensive off-the-shelf development resources and complementary analog product solutions. ►Over-current protection: Analog Comparators in conjunction with PWM FlexTimer fault inputs, provide fast and accurate over-current shutdown protection by driving PWMs to a safe state. ►Enhanced system integrity for safety-critical applications implementing IEC60730: Independently Clocked COP & Cyclic Redundancy Check Engine provide clock failure protection & memory content validation. ►Reduced system cost: integrated Programmable Gain Amplifier (PGA) and Analog Comparators minimise external component count. Low cost small footprint SOIC & LQFP packages with automotive-qualified high temperature option. ►Precise motor control: FlexTimer provides dead-time insertion in hardware – more accurate than software insertion and reduces CPU bandwidth usage. PGA allows high resolution ADC readings over a wide range of motor loads and speeds. Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. ►Dedicated application support: Reference Designs, Application Notes, and Software Libraries covering all motor control topologies. Regional Motor Control Centers of Excellence provide application support from concept to delivery. ►Reduced time-to-market: Free CodeWarrior™ IDE up to 32KB with Processor Expert and Freemaster Real-Time Control and Monitoring Tool. One-stop-shop motor control system solutions including MC33937 3-ph FET Pre-Driver, and MC33880/87 & MC33926/32 H-bridges. MC9S08MP16 – Safe, Accurate and Inexpensive BLDC Motor Control 12 TM MC9S08MP16/12 Core / Temp / Package ►Industrial Version: 50MHz (25MHz bus), -40to105C, 28SOIC, 32LQFP, 48LQFP • ►Automotive • ►2.7V Version: 40MHz (20MHz bus), -40to125C, 48LQFP to 5.5V operating range Memory SPI S08 50MHz CPU 13ch, 12-bit ADC & Temp Sensor Features SCI 16KB Flash 6ch+2ch FlexTimer with PWM functions IIC 1KB RAM 8-bit MTIM CRC Generator ►16KB ►12KB Flash / 1KB RAM Flash / 512B RAM ►2x FlexTimers (6ch + 2ch) – automatic fault protection, supports up to 50MHz CLK, selectable input capture, output compare, edge- or center-aligned PWM; dead time insertion ►3 Analog Comparators – h/w sample trigger from PWM module allowing comparison at any point in cycle ►2x Programmable Delay Blocks (PDB) ►12-ch 12-bit ADC – 3.5 uS conversion, h/w trigger from PWM module allowing conversion at any point in cycle ►Programmable Gain Amplifier (PGA) ►8-bit Modulo Timer Module (MTIM) ►LIN SCI, SPI, IIC ►3x 5-bit DAC used as a 32 tap voltage reference ►RTC with periodical timer interval interrupt ►Software Programmable Internal Clock Source ►3x low power modes & peripheral CLK gating ►Power Management Controller (PMC) ►3x 8-bit KBI ►POR / LVI – supports 4 interrupt priority levels ►Background Debug Mode Interface/ICE 3x 5-bit DAC ICS RTC COP BDM/ICE Programmable Gain Amplifier Programmable Delay Blocks (x2) 3x High Speed Analog Comparators System Protection ►Cyclic Redundancy Check Generator (CRC) Timer with Independent Clock Source ►Watchdog Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 13 MC9S08MP16: Target Applications Industrial ► ► ► ► ► ► Industrial drives/fans/pumps HVAC systems Actuator systems Medical equipment (infusion pumps, respirators, analyzers) Office equipment Small appliance/personal care (food processors, shavers) players Automotive Sensor and sensorless brushless DC motor control ► Electric fuel pump & water pumps ► Window lift ► Fan control ► High-brightness LEDs ► Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 14 MC9S08MP16: Development Support DEMO9S08MP16 ► On-board Logic Analyzer ► On-board Virtual Serial Port ► P&E’s Embedded Multilink circuitry populated on the underside ► Includes Quick Start DVD Quick Start DVD ► DEMO9S08MP16 Quick Start Guide ► CodeWarrior 6.3 for MCUs ► Product Documentations (Data Sheet, Ref Manual) ► Training Resources Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 15 3-Phase Universal High Voltage Power Stage ►Power: ►Input 1,000 Voltamps voltage: • 140 to 325 VDC • 90 to 240 VAC ►IGBT Bridge ►Optically isolated SCI/USB connector ►Tacho connector ►Encoder/Hall sensor connector ►Brake resistor switch ► Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 16 FreeMASTER Control Page Optically-isolated SCI/USB communication (speed 9600baud) with S08MP16 Supported actions: ► Setting the required speed of the motor Switch running motor on/off ► Switch between V/Hz and CSC algorithms ► Displayed values: Actual and required speed ► DC-bus current and voltage ► Application fault status ► FreeMASTER Recorder acquire data with 62.5us time base (16kHz PWM frequency) Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 17 MC9S08MP16: Enablement ► DEMO9S08MP16 (generic demo board) ► Demos • ► ► Reference Designs • Sensorless BLDC Motor control using Comparators • 3-Ph ACIM V/Hz Drive with PFC • Industrial HID Lamp with PFC Software Libraries • ► Sensorless BLDC Motor Control using ADC approximation S08 Math and Embedded Application Notes • S08MP16 comparators for BLDC sensorless motor control • Using MP16 peripheral modules (FTM, Delay block, ADC) • high speed BLDC sensorless control using ADC approximation • BLDC Motor Control using Hall Sensors • Using FlexTimer in DC/BLDC Motor Control Application Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 18 Sensorless BLDC Motor Control Using MC9S08MP16 ► ► ► ► ► ► ► ► Six step commutation Sensorless Back-EMF Zero crossing detection technique Back-EMF Zero Crossing detection using internal comparators Running on MC9S08MP16 Both Direction of Rotation Speed Closed Loop Control Torque Closed Loop Control Target Applications: Fans • Compressors • Pumps • Appliance • Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 19 Freescale Digital Signal Controller- 56800E family Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 20 20 What is a Digital Signal Controller? Traditional Microcontroller ►Design for Controller Code ►Compact Code Size ►Easy to Program ►Inefficient Signal Processing Traditional DSP Engine ►Designed for DSP Processing ►Designed for Matrix Operations ►Complex Programming ►Less Suitable for Control ► Instructions Optimized for Controller Code, DSP, Matrix Operations Compact Assembly and “C” Compiled Code Size ► Easy to Program ► Additional MIPS Headroom and extended addressing space ► Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 21 When is a Digital Signal Controller a good fit? ► When the application is dominated by high speed capture and analysis of analog input and feedback (e.g. PWM adjustment) to a closed loop system • • ► Key Features • • • • • ► DSC is similar to an MCU but with the performance to run complex algorithms for more responsive control and often, system cost reduction. DSC provides flexibility to be used in multiple systems or to adapt within a system to environmental changes (compared to fixed analog-based control) 32-60MIPS MCU/DSP performance for advanced Algorithms High speed/performance 600ns/12 bit ADC for fast dynamic response High speed sophisticated (60 MHz- 96Mhz) PWMs and timer modules to effectively increase PWM resolution Quadrature decoders for direct interface to Hall Effect sensors or Optical encoders Safety features (fault inputs, loss of clock…) to prevent catastrophic failures Key Applications Motor Control • Digital Power Conversion • Advanced Lighting Control • Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 22 56F8000 Series Feature Summary 56F8002 Performance Temperature Range (V) Voltage Range Voltage Regulator Program/Data Flash Program/Data RAM Program Security OnChip Relaxation Osc PLL COP (Watchdog) PWM (96Mhz Clock) PWM Fault Inputs 12-bit ADCs 12-bit DACs Analog Comparator Prog Gain Amp 16-bit Timers Prog. Interval Timers 56F8006 32MHz/MIPs 32MHz/MIPs -40C~105C -40C~105C 1.8V - 3.6V 1.8V - 3.6V On-Chip On-Chip 56F8013 16KB 2KB Yes Yes Yes Yes 1 x 6ch 4 2 x 8ch Yes Yes Yes 1 x 6ch 4 2 x 12ch Yes Yes Yes 1 x 6ch 4 2 x 3ch Yes Yes Yes 1 x 6ch 4 2 x 3ch 0 3 2 3 1 (RTC) No No No 4 No No No No 4 No 0 3 2 3 1 (RTC) 32LQFP (.8p) 28SOIC 32LQFP 32SDIP 48LQFP 56F8014 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs -40C~105C -40C~125C -40C~125C 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V On-Chip On-Chip On-Chip 12KB 16KB 16KB 2KB 4KB 4KB Yes Yes Yes 12KB 2KB Yes 23 40 GPIO (max) (+/-8mA) 1 1 IIC 1 - SCI 1 - SCI SCI (UART) / LIN Slave 1 - SPI 1 - SPI SPI (Synchronous) No No CAN Yes Yes JTAG/EOnCE Power Consumption IDD = 45.6mA;IDDA = 4.5mA Package 56F8011 32LQFP 56F8025 32MHz/MIPs 32MHz/MIPs -40C~125C -40C~125C 3.0V - 3.6V 3.0V - 3.6V On-Chip On-Chip 56F8036 56F8027/37 32MHz/MIPs 32MHz/MIPs -40C~125C -40C~125C 3.0V - 3.6V 3.0V - 3.6V On-Chip On-Chip 32KB 4KB Yes 32KB 4KB Yes 64KB 8KB Yes 32KB / 64KB 4KB /8KB Yes Yes Yes Yes 1 x 5ch 3 2 x 4ch Yes Yes Yes 1 x 6ch 4 2 x 3ch No No 2 2 No 4 1 Yes Yes Yes 1 x 6ch 4 2 x 4ch 2 2 No 4 3 Yes Yes Yes 1 x 6ch 4 2 x 5ch 2 2 No 4 3 Yes Yes Yes 1 x 6ch 4 2 x 8ch 2 2 No 8 3 No 4 No 26* 26* 26* 1 1 1 1 - SCI 1 - SCI 1 - SCI 1 - SPI 1 - SPI 1 - SPI No No No Yes Yes Yes IDD = 42mA; IDDA = 13.5mA 32LQFP 56F8023 32LQFP 26* 35* 39* 53* 1 - QIIC 1 - QIIC 1 - QIIC 1 - QIIC 1 - QSCI 1 - QSCI 1 - QSCI 2 - QSCI 1 - QSPI 1 - QSPI 1 - QSPI 2 - QSPI No No MSCAN MSCAN Yes Yes Yes Yes IDD = 48mA; IDDA = 18.8mA IDD = 48mA; IDDA = 18.8mA 32LQFP 44LQFP 48LQFP 64LQFP * 5V tolerance I/O Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 23 Small cost. Low power. Big Performance Introducing the MC56F8006/2 DSC Family Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 24 Introducing the MC56F8006/2 DSC Family The entry-level MC56F8006/2 Digital Signal Controller provides the most cost-optimized solution for mathematically-intensive, power-sensitive real-time control applications. High-performance, DSP core and integrated control peripherals Thefamily explanation that thisofmessaging point true. What(PGA, makesADC) this important? are ►► The includes anmakes ideal mix high-performance analog and digital How (PWM) we accomplishing this have point?been What does this do for our for customers? peripherals which intelligently designed real-time industrial applications such as energy-efficient motor control, digital power supplies, and solar inverters. Market leading ultra-low-power DSC ► The 56F8006/2 family has been architected from the transistor level up with ultra-low-power in mind -- standby currents are less than 1ua, and run currents less than 50mA are typical. A dual 12-bit SAR ADC is included that is optimized for very fast, low power data conversions. An ultralow-power crystal oscillator module is also integrated lowering overall system power consumption. Big performance, low cost ► Designed to achieve exceptional performance and price, our on-chip features reduce the need for external components and lower your overall BOM cost. Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 25 25 MC56F8006/2 Target Markets and Applications Motor Control Energy ►3 phase BLDC motor control ►Entry-level ►PMSM ►Large field -oriented control control & small home appliances Advanced Power Conversion ►Board mounted & industrial power supplies ►Switched-mode power supply & power management ►Arc fault protection ►Advance lighting control Power-Sensitive Applications ►Medical portable diagnostic and Therapeutic devices ►Handheld power tools ►Instrumentation Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 26 26 About the MC56F8006/2 Family Core ►32 MHz/32MIPS 56F800E core ►1.8V to 3.6V operating range Memory ►Up to 16KB flash with Flash security, 2KB SRAM Features ►Low power stop modes ►Up to 96 MHz peripherals – timers, PWM & SCI ►6 output PWM module with up to 4 programmable fault inputs ►Two wideband clocked programmable gain amplifiers ►10/12-bit conversion done in 3.03us @32MHz SysClk (8-bit conversion done in 2.65us @32MHz SysClk ) ►Up to three analog comparators ►Custom timer for precise control of ADC/PGA sample times relative to PWM reload cycles ►2 multiple function programmable timers ►One Periodic Interval Timer (PIT) ►Computer Operating Properly timer ►1 Serial Communications Interface (SCI) ►1 Serial Peripheral Interface (SPI) ►I2C communications interface ►Up to 40 GPIOs – Versatile pin usage ►JTAG/EOnCE debug port 2KB SRAM 16K Bytes Flash 3 Analog Comparators Power SuperVisor 2 16-bit Timers 2 2X-16X Wideband PGAs COP 1 16-bit Periodic Interval Timer Flash/RAM High Speed SCI 2 12-bit ADCs Voltage Regulators SPI Programmable Delay Block (PDB) Interrupt Controller IIC 6 Output PWM 2KB SRAM 12K Bytes Flash Memory Options Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. System Integration Module (SIM) System Clock Control (PLL, SIM, Osc) 56800E Core/32MIPS JTAG/EOnCE™ TM 27 27 Power Saving Mode Comparison Chart Preliminary version Highest Functionality Power Mode Conditions IDDio IDDa 45.6mA 4.55mA 573.06uA 82.11uA 32MHz Peripheral Clock ROSC on PLL engaged All non-communication peripherals on & running communication peripherals off but clocked • WAIT 19.94mA 4.54mA Low Power Wait • • • • 200KHz Peripheral Clock ROSC in STANDBY Peripherals off and clocks disabled WAIT 495.2uA 81.99uA Stop • • • • 32MHz Peripheral Clock ROSC on PLL engaged Peripheral Clocks allowed to be disabled in STOP 6.38mA 2.89mA 36.72uA 82.03uA 140.14uA 0.5uA 3.39uA 2.45uA 3.57uA 2.66uA Run • • • • • 32MHz Peripheral Clock ROSC on PLL engaged All peripherals on & running MAC algorithm from flash Low Power Run • • • • 200KHz Peripheral Clock ROSC in STANDBY Peripherals off and clocks disabled Simple Loop from flash Wait Low Power Stop • • • • • 200KHz Peripheral Clock • ROSC in STANDBY • Peripherals allowed to be disabled in STOP • 32,768 Hz on XTAL Partial Power Down -PPD • PIT monitoring XOSC (but no wakeup) (with XOSC) Lowest Power Partial Power Down - PPD • PIT monitoring LPO (but no wakeup) (with LPO) Partial Power Down -PPD VDDIO=VDDA Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and•Symphony are trademarks of Freescale Semiconductor, Inc., = 3.3V @25C No clock Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink (IDDQ) and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. 28 TM Key Differentiators for the MC56F8006/2 DSC ► The MC56F8006/2 DSC family provides the most cost-optimized solution for mathematically-intensive, power-sensitive real-time control applications. ► Highest performance per dollar in the DSC market. • Dual Harvard Architecture + MAC and high operating frequency enable outstanding performance in single-cycle Multiply-Accumulate for filters and real-time feedback calculation. ► Lowest power stop modes of any DSC in the market. ► 96 MHz for key peripherals, such as timers, SCI and PWM – twice the module maximum operating frequency compared to competitive DSCs. ► 2 x high speed 12bit x 24 channel ADC module with integrated temperature sensor – more resolution and channels than the competition. ► Three analog comparators – more than any competitive offering. ► Programmable gain amplifier increases the ADC input dynamic range. Shielded inputs in ADC reduce noise in conversion. Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 29 29 MC56F824x / 5x Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 30 MC56F824x/MC56F825x Feature 64KB Program Flash 8kB Data RAM 8ch 12bit ADCA Prog Gain Amp Ax1,2,4 8ch 12bit ADCB Prog Gain Amp Bx1,2,4 CRC 56800E Core 60Mhz 8-ch High Res PWM 1ch 12bit DAC Crystal Oscillator 3 5bit DAC PLL ► ► ► ► ► ► ► ► • • 3 Analog Comparators Relaxation OSC 2 x High Speed QSCIs JTAG/EOnCE System Integration Module (SIM) Interrupt Controller ►44LQFP, ► 2x IIC/SMbus COP 1 x MSCAN POR 8Ch 16bit Timer LVI Inter-module Cross Bar 48LQFP 64 LQFP Breakthrough Features: ► High Speed PWM module – 520 ps duty cycle resolution ► High speed ADC with Programmable Gain Amplifiers ► Inter-module Cross bar ► ► ► ► ► ► ► ► ► ► ► ► ► ► ► 8 Output PWM Module 520ps PWM and PFM resolution 2-12-bit ADCs with total 16 Inputs, • • 1 x QSPI Voltage Regulator 60 MHz/60MIPS From 56800E Core 2.7-3.6V Operation 64K Bytes Program FLASH 8K Bytes Program/Data RAM Flash security 8Mhz/100Khz Tunable Internal Relaxation Oscillator Software Programmable Phase Locked Loop Up to 60 MHz Peripherals – Timers and PWMs 600ns conversion rate built-in PGA with 1x, 2x, 4x, gains 1 12-bit Digital to Analog Converter 3 5bit Digital to Analog Converters 3 - Analog Comparators 8 16-bit Enhanced GPMultifunction Programmable QTimers Cyclic Redundancy Check Generator (CRC) Computer Operating Properly Timer 2- High Speed Serial Communications Interface (SCI) 1-Queued Serial Peripheral Interface (QSPI) 1 MS-CAN Bus 2 - I2C/SMbus Communications Interface Up to 54 GPIOs Inter Module cross-bar JTAG/EOnCE™ Debug Port Lead Free “Green” Packages Industrial temperature:-40C to 105C with 60Mhz Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 31 31 56F824x/5x Series Feature Summary 56F8245 60MHz/MIPs 56F8246 60MHz/MIPs 56F8247 32MHz/MIPs 56F8255 60MHz/MIPs 56F8256 60MHz/MIPs 56F8257 60MHz/MIPs Temperature Range (V) Voltage Range Voltage Regulator Program/Data Flash Program/Data RAM Program Security -40C~105C -40C~105C -40C~105C -40C~105C -40C~105C 3.0V - 3.6V On-Chip 48KB 6KB Yes 3.0V - 3.6V On-Chip 48KB 6KB Yes 3.0V - 3.6V On-Chip 48KB 8KB Yes 3.0V - 3.6V On-Chip -40C~105C 3.0V - 3.6V On-Chip 64KB 8KB Yes 64KB 8KB Yes 64KB 8KB Yes OnChip Relaxation Osc PLL COP (Watchdog) eFlexPWM Channels Yes Yes Yes 1 x 6ch 6ch Yes Yes Yes 1 x 6ch Yes Yes Yes 1 x 9ch Yes Yes Yes 1 x 6ch Yes Yes Yes 1 x 6ch Yes Yes Yes 1 x 9ch 6ch 6ch 6ch 4 2 x 3ch 4 2 x 3ch 6ch 3ch 4 2 x 4ch 4 2 x 3ch 1 3 Yes 8 No 1 3 Yes 8 No Yes 8 No 1 3 yes 8 No 4 2 x 4ch 1 3 Yes 8 No 6ch 3ch 4 2 x 5ch 1 3 Yes 8 No 35* 2 2- QSCI 1 - QSPI No Yes 39* 2 2 - QSCI 1 - QSPI No Yes 54* 2 2 - QSCI 1 - QSPI No Yes 35* 2 2 - QSCI 1 - QSPI MSCAN Yes 39* 2 2 - QSCI 1 - QSPI MSCAN Yes 54* 2 2 - QSCI 1 - QSPI MSCAN Yes 44LQFP 48LQFP 64LQFP 44LQFP 48LQFP 64LQFP Performance HiRes PWM Channels FlexPWM Channels PWM Fault Inputs 12-bit ADCs /w PGA 12-bit DACs Analog Comparator /w 5bir DAC Ref Crossbar Module 16-bit Timers Prog. Interval Timers GPIO (max) (+/-8mA) IIC /SMBus SCI (UART) / LIN Slave SPI (Synchronous) CAN JTAG/EOnCE Package 1 3 3.0V - 3.6V On-Chip * 5V tolerance I/O Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 32 Cost Effective 56F8000 Solutions 56F8011/56F8013/56F8014 ► 32 MIPS Performance ► 12K -16 K Bytes Program FLASH ► 4 K Bytes Program/Data RAM 56F8011/56F8013/56F8014 12K - 16KB Program Flash System Integration Module (SIM) 4kB Program/ Data RAM Interrupt Controller PLL Relaxation OSC 56800E Core 32MHz Voltage Regulator COP Power-On-Reset JTAG/EOnCE Power Supervisor Up to 26 GPIOs 1 x SCI 1 x SPI 1x IIC ► Tunable Internal Relaxation Oscillator ► Software Programmable Phase Locked Loop ► Up to 96 MHz Peripherals – Timers and PWMs ► Up to 6-Output PWM Module with up to 4 Programmable Fault Inputs ► Selectable PWM frequency for each complementary 3-4ch 12bit ADC 3-4ch 12bit ADC Synch 4Ch 16bit Timer ► ► ► ► ► 6-ch PWM Output ► ► Package: 32LQFP ► ► ► PWM signal pair Two 12-bit ADCs with up to 8 Inputs , 1.125us conversion rate Synchronization between PWM and ADC Four 16-bit General Purpose Programmable Timers Computer Operating Properly Timer Serial Ports: SCI, SPI, I2C Up to 26 GPIOs – Versatile pin usage Low Power Consumption – 59mA Max and .026mA Min JTAG/EOnCE™ Debug Port Industrial & Automotive temp Cost Effective Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 33 33 56F8000 Family Expansion 56F8023/56F8025/56F8036/56F8037 Features 56F8023/56F8025/56F8036/56F8037 32KB - 64KB Program Flash 4kB-8KB Program/ Data RAM System Integration Module (SIM) Interrupt Controller PLL Relaxation OSC Crystal OSC 56800E Core 32MHz Voltage Regulator COP Up to 53 GPIOs 2 x QSCI 2 x QSPI 1xIIC 1x MSCAN 3xPIT 8ch 12bit ADC 8ch 12bit ADC Synch 8Ch 16bit Timer Power-On-Reset JTAG/EOnCE Power Supervisor 2 x 12 bit DAC 6-ch PWM Output 2 x Comparators ►32 MHz/32 MIPS 56800E Core ►3.0-3.6V Operation ►32K-64K Bytes Program FLASH ►4K-8K Bytes Program/Data RAM ►Flash security ►Tunable Internal Relaxation Oscillator ►Software Programmable Phase Locked Loop ►Up to 96 MHz Peripherals – Timers and PWMs ►6 Output PWM Module with 4 Programmable Fault Inputs ►Selectable PWM frequency for each complementary PWM signal pair ►Two 12-bit ADCs with up to 16 Inputs , 1.125us conversion rate ►Up to Two 12-bit Digital to Analog Converters ►Two Analog Comparators ►Synchronization between PWM and ADC ►4 or 8 16-bit General Purpose Programmable Timers ►1 or 3 Programmable Interval Timers (PIT) ►Computer Operating Properly Timer ►2-Queued Serial Communications Interface ►2-Queued Serial Peripheral Interface ►Optional MSCAN ►I2C Communications Interface ►Up to 53 GPIOs – Versatile pin usage ►JTAG/EOnCE™ Debug Port ►Lead Free “Green” Packages ►Industrial & Automotive temp Package 32 LQFP, 44LQFP, 48LQFP, 64LQFP Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 34 34 Power Architecture for Motor Control: MPC5604P Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 35 35 MPC5604P Power Architecture® Core ►Up to 64 MHz e200 zen0h core, 32-bit Power Architecture Book E CPU with Harvard architecture ► VLE instruction set encoding for code size footprint reduction System Clock On-Chip Memory Options Device Program Flash with ECC DataFlash® with ECC SRAM with ECC FlexRay Interrupt Controller VLE MPC5603P 384K 64K 32K No 100ch MPC5604P 512K 64K 40K Yes 144ch On Chip Memory I/O Peripherals ► 1 x High speed FlexCAN with 32 Message Buffers (MB) ► 1 x Safety port (can be used as additional FlexCAN – 32 MB) ► 1 x FlexRay Controller - Dual Channel with 32 MB ► 2 x LinFlex ► 4 x DSPI (4 independent chip selects each) ► 1 x FlexPWM (4 channels with 4 fault inputs) ► 2 x eTimer (6 channels incl. quad decode) ► 2 x ADC - 2 x 12 ch.(4 shared channels) • 10-bit, conversion time 700 nsec ( 2x 6 ch., 4shared on 100-pin package) 1 x CTU triggering unit: 32 input channels, 8 events, 24 ADC cmds. ► 1 x Fault collection unit ► Safety MC Peripherals CAN ‐ Controller Area Network (FlexCAN) DSPI ‐ Deserial Serial Peripheral Interface LINFlex ‐ Serial Communication Interface (LIN support) FMPLL‐ Frequency‐Modulated Phase‐Locked Loop SRAM ‐ Static Random‐Access Memory MPC5602P 256K 64K 24K No 100ch FlexPWM ‐ Flexible Pulse Width Modulation eTimer ‐ Enhanced Timer PIT ‐ Periodic Interrupt Timer SWT ‐ Software Watchdog Timer STM ‐ System Timer Module System ► 2 x PLL (one FM-PLL, one for FlexRay™) ► Crossbar switch architecture for concurrent access to peripherals ► 16-ch. eDMA ► 16 MHz internal RC OSC ► Junction temperature sensor ► JTAG (2 pin or 5 pin) / Nexus Class 2+ ► 3.3V single supply (5V mask option) with external ballast transistor ► 100/144 LQPF Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 36 36 MPC5604P Safety Highlights Power Architecture® Core ► Core self test planned RC OSC ► Provides seperate clock to system watchdog Flash + Data Block ► Provides ECC for both program Flash and Data Flash ►FlexRay Option ► 2-channel w/32 MSG buffers, 10 Mbps Fault Collection Unit ► Monitors and manages fault events ► Detects when errors have occurred and the source and sets a flag ► Independent of software operation ► Critical fault events trigger 2 external pins VLE RAM ► Provides ECC support in HW ► Offers higher safety than SW signature at no speed constraint Safety Port ► Allows CRC signed communication to slave MCU (if needed) ► Synthesized to run at high bit rates ► May be used as second CAN Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 37 37 Electric Motor Control Peripherals Cross Triggering Unit Timer Module: MCU ►Allows mcTIM, PWM, ATD to be synchronized ►Automatic ADC & eTimer acquisitions ►No CPU intervention during the control cycle DSC based ► Six Ch IC/OC ► Double buffered registers for detecting two edges in a row ► eDMA supported ► Integrated quad decoder support ► 2 x BUS frequency Æ high resolution ► CTU ADC Trig & Ackw PWM Reloa d Real PWM’s PWM’s ADC 2 ADC Cmd Real PWM’s SHARE D flexPWM (Pos Counter) ADC 1 PWM Triggers eTimer Scheduler Timer/ Pos. decoder compare Trigger Generator eTimer 2x ADC External Signal External Trigger ►Up to 24 independent and 4 shared channels ►10-bit ►700 nsec conversion time ►Limit checking & zero crossing detect ADC Inputs FlexPWM ►Based on DSC PWM for 3ph motor control ►One „extra“ pair of PWM integrated ►Includes dead time insertion, fault channels, center/edge alignment, Distortion correction, … ►Register protections ►Double buffered registers ►eDMA supported ►2 x BUS frequency Æ high resolution PWM0 Ch0 PWM0 Ch1 Control ►Optimized PWM1 Ch0 PWM1 Ch1 M 6 2 DC/DC PWM2 Ch0 PWM2 Ch1 PWM3 Ch0 PWM3 Ch1 M 8 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. I/F 10bit I/F 10bit S&H MUX S&H MUX 11 1 4 1 11 TM 38 38 Control Motor Control PWM Peripheral Module Faults PWM0 Ch0 PWM0 Ch1 PWM1 Ch0 PWM1 Ch1 PWM2 Ch0 PWM2 Ch1 PWM3 Ch0 PWM3 Ch1 Internal triggers ►Permanent Complementary Pairs PWM Modes Main Features ► 4 Sub-modules, each with complementary PWM generation, Isense IC/OC and fault input ► 16 bits of resolution for center, edge aligned, and asymmetrical PWMs ► PWM outputs can operate as complimentary pairs or independent channels ► Independent control of both edges of each PWM output ► Independently programmable PWM output polarity ► Separate dead time for rising and falling edges ► Each complementary pair can operate with its own PWM frequency and deadtime values ► All outputs can be programmed to change simultaneously via a "Force Out" event ► Double buffered PWM registers auX auX auX Independent Channel PWM Modes auX Independent CMP1 Edge Control CMP2 magnet synchronous motor (PMSM, PMAC) ►Brushless DC motor (BLDC) ►Brush DC motor (BDC) ►AC induction motor (ACIM) ►Switched reluctance motor (SRM) ►Variable reluctance motor (VRM) ►Stepper motors ►DC/DC converters • • Integral reload rates from 1 to 16 Half cycle reload capability Safety Features ► Write protection for critical registers ► Fault inputs can be assigned to control multiple PWM outputs ► Programmable filters for fault inputs Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 39 39 Motor Control Enablement Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 40 40 Build things faster using Processor Expert A rapid application design tool with … ► Graphical user interface that allows an application to be specified by the functionality needed ► Automatic code generator that creates tested, optimized C code tuned to the application needs and selected Freescale MCU ► Built-in knowledgebase that immediately flags resource conflicts and incorrect settings Creating… ► Hardware abstraction layer (HAL) – hardware-dependent, low-level drivers with a known application programming interface (API) Benefits ► Eases migration between Freescale devices ► Designers don’t have to be intimately familiar with every page of a specification ► Errors are caught early in design cycle; therefore designers get to market faster with higher quality product Motor control library with embedded beans ► Embedded beans easily incorporate software components of Freescale’s motor control library ► The Freescale motor control library includes Transcendental functions • PID controllers • Clark and park transform and inverse transforms • Algorithmic support for space vector modulation, and more.. ► Embedded bean store is now available at http://www.freescale.com/BeanStore • Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 41 41 FreeMASTER Interface Application control and monitor Live graphs, variable watches, and graphical control page Real-time eTPU operation monitor Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 42 42 Application Implementation Application Application SW GDFLIB Digital filtering MC56F80XX MCcIB Motor Control ACLIP Documentation Advanced control User application SW GFLIB General functions Libraries FSL Library Set On-chip driver On-chip drivers efficient reflecting the chip feature On-chip peripherals System infrastructure FMaster* support External appl.* support Pins External HW *optional Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. External connections TM 43 43 Sensorless PMSM Motor Control Using MC56F80xx ► ► ► ► ► ► ► ► ► ► ► ► MC56F80xx digital signal controller 3-phase AC/BLDC High Voltage Power Stage Board 1-phase line input 110/230VAC @ 50/60Hz Appliance PM motor Initial rotor position detection Full torque at motor start-up Field weakening Application based on C-callable library functions (GFLIB, GDFLIB, MCLIB, ACLIB) Current control loop execution time: 55us Speed control loop with Field weakening execution time : 17us Flash: ~ 6KB, RAM ~ 1.5KB Reference design manual Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 44 Low Cost BLDC Motor Control Demo Board Brushless motor, Maxon EC-200187, 6W 9V ► Motor interface connector ► Input power connector ► Daughter card connector for connecting the 56F8013 demonstration board ► LED power indicator ► Motor bus voltage sense logic ► Motor bus current sense logic ► Back EMF phase voltage sense logic ► Zero-crossing logic ► Hall-effect/zero-crossing selector ► 3-phase H-bridge power stage ► Power regulation logic ► (Optional) Five on-board real-time user debugging LEDs ► Order Number: APMOTOR56F8000 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 45 45 BLDC Control Using MC56F8013 ► ► ► ► ► ► Three-phase brushless DC motor sensorless drive Designed to fit into fan, pump and compressor applications Using MC56F8013 32 MIPS hybrid controller Available for two power stages and two motors Input power supply voltage +12 Vdc for power stages Control technique incorporates: DC motor 3-phase power stage UNI-3 motor control interface • Sensorless, trapezodial control of 3-phase brushless DC motor with back-EMF sensing Using A / D converter zero-cross sensing for sensorless control • Speed and current closed loop with PI controller Speed range: 200 – 2000 and 500 – 5000 RPM (depending on the motor used) Manual interface (run/stop switch, up/down pushbuttons) • ► ► FreeMASTER connection DSC 56F8013 56F8013 motor control board DRM070 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 46 46 BLDC control using 56F8013 ((Continued)) 3 phase Power Stage BLDC Motor UNI-3 Motor Control Interface FreeMaster Connection DSC 56F8013 DRM070 56F8013 Motor control Board 3-phase Brushless DC motor sensorless drive Designed to fit into fan, pump and compressor applications Using MC56F8013 32MIPS hybrid controller Avaliable for two power stages and two motors Input power supply voltage +12Vdc for power stages Control technique incorporates: Sensorless, trapezodial control of 3-phase Brushless DC motor with Back-EMF sensing Using A / D converter Zero Cross sensing for sensorless control Speed & current closed loop with PI controller Speed Range 200 – 2000 and 500 – 5000 RPM (according to the motor used) Manual interface (Run / Stop switch, Up / Down pushbuttons) FreeMASTER interface for monitoring, control and tuning Fault protection (DC-Bus over-current, DC-Bus undervoltage, DC-Bus over-voltage) Automatic calibration of phase Back-EMF measurements Easy to tune for different power stages and motors Application Usage Compressors Fans Pumps Washing Machines Automotive Drives Industrial Drives Air conditioning units Appliances Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 47 High Speed Application ►3-Phase BLDC Drive Using Variable DC Link Six-Step Inverter ►Application Note Number:DRM078 ►Speed can exceed 10Krpm Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 48 48 High Speed Application: Demo Setup Power Supply 3-phase Motor Cable BLDC Motor Hall Sensors Motor Cable MC56F8013 Controller Board 24V/5.4A 3-phase Power Stage with DC/DC Inverter Lite Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. Serial Cable TM 49 Additional Information Freescale: • • • • • • • • • Motor Control Homepage – www.freescale.com/motorcontrol 8-bit Microcontrollers – www.freescale.com/8bit 16-bit DSC – www.freescale.com/dsc 16-bit Microcontrollers – www.freescale.com/16bit 32-bit ColdFire® Microcontrollers – www.freescale.com/coldfire 32-bit Power Architecture® Processors – www.freescale.com/powerpc Analog Products – www.freescale.com/analog Connectivity – www.freescale.com/connectivity Industrial Segment – www.freescale.com/industrial Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 50 50 Summary ►Cutting Edge. Cost Effective. Complete. Freescale offers technology for every motor control application ►Energy efficient motor control Vector and sensorless control technology in motor control processors 8- and 16-bit 16-bit DSCs for ACIM and PMSM solutions 32-bit Power Architecture® MCUs for standard and premium drives ►Strong technical support Rich tools, training, reference designs, libraries Devices are ruggedized with long life and reliability Industrial products ship 10+ years with high quality and expert support ►Cost-effective safety and security on-chip Protect against IP cloning, network data hacking and soft errors Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc. TM 51 51 TM
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Related manuals
Download PDF
advertisement