low cost motor control family - microchip technology inc.€¦ · welcome to the “low cost motor...

17
1 © 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 1 Low Cost Motor Control Family Welcome to the “Low Cost Motor Control Family” web seminar. My Name is Ed Mejia, Sr Applications Engineer for the High Performance Microcontroller Division

Upload: phunghanh

Post on 30-Apr-2018

222 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

1

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 1

Low Cost Motor Control Family

Welcome to the “Low Cost Motor Control Family” web seminar.

My Name is Ed Mejia, Sr Applications Engineer for the High Performance Microcontroller Division

Page 2: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

2

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filteringComparator with blanking and filtering Slide 2

Agenda

� dsPIC33FJ16MC101/102, dsPIC33FJ16GP101/102 and PIC24FJ16MC101/102 Introduction− Key Features

� Target Applications− Consumer, Industrial, Medical, Automotive, etc.

� Development Tools − Motor Control Starter Kit

Here is the agenda for today’s webinar.

We will introduce a new family of high performance, low cost microcontrollers, specifically design for motor control applications.

A short description of the features of these components will introduce to the main applications where these devices find their best fit. At the end of the seminar a new, low cost starter kit will be presented.

Page 3: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filteringComparator with blanking and filtering Slide 3

16-bit PIC ® MCU &dsPIC® DSC Roadmap

PIC24F16 MHz

PIC24H40 MHz

PIC24E60 MHz

dsPIC30F30 MHz

dsPIC33F40 MHz

dsPIC33E60 MHz

Digital SignalControllers (DSCs)

MCU + DSP

Microcontrollers

(MCUs)

dsPIC33F16 MHz

New

New

This slide positions the new family in the wide portfolio of dsPIC and Microcontroller components offered by Microchip.

Two main groups of components are available: the upper set is relative to devices with an embedded dsp core, targeting the most demanding and performance-critical applications.

The lower one is relative to pure microcontroller devices: they have the same core and peripheral set of previous families, however the lack of the dsPIC core makes these parts very well fitting those applications where simpler control algorithms are used, but where the application still requires a 16 bit processor to manage tasks like high level human interface and communication.

The new family of components includes parts in both sets. They are highlighted by the blue boxes.

As shown, a distinctive feature of this family is that the maximum speed is 16 MIPs. Motor control algorithms can be managed by such devices. The new family of devices thus offers a low cost alternative while adding to the functionality of existing device families.

6/23/2011

3

Page 4: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

4

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 4

The New Family of Low-cost DSCs and MCU’s from Microchip

dsPIC33FJ16MC101/102PIC24FJ16MC101/102

dsPIC33FJ16GP101/102

Let us get started with an overview of the new family.

Page 5: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

5

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 5

1. Enable cost saving sensorless motor control designs with support for a wide range of motor control algorithms

2. Intelligent sensors and touch capability with advanced peripherals

3. Save board space with 36pin packages down to 5mm

4. Migrate easily with dsPIC family pin and firmware compatibility

Features

This family of devices has been primarily designed to address customers’ need in low-cost motor control applications.

According to the application, different algorithms are commonly used. Some of them require an intensive use of the dsp capabilities of the micro, others are less resource hungry and can be equally well implemented using a non-dsp processor. This is why this family presents both MC dsPIC devices and PIC 24F MC devices. The common features they have are the Motor Control PWM and the high performance 10-bit ADC, which are the key building blocks for every motor control technique. The PIC24F is not equipped with the dsp core.

Moreover a general purpose dsPIC version is also available, for non motor control applications that require the high computational capabilities of the dsp core and 16 bit wide internal buses.

The design target was thus to supply customers with a very low cost device without any performance loss in the control loops implementation. Moreover to ease the interface development and considering that more and more often touch sensors are designed into low cost motor applications, the devices have a m-Touch peripheral that allows a simple, straightforward implementation of buttons and sliders directly on the pcb. The robustness of the m-Touch solution (no mechanical parts) increments the life time of the product.

Great attention has been dedicated to ease migration from existing families in order to enable customers to move to this new family with minimum effort.

In order to answer the request of smaller and smaller parts, a new 36 pin, 5x5 mm package has been introduced.

Page 6: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

6

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filteringComparator with blanking and filtering Slide 6

InterruptControl

Inst. Data

16KB Flash16KB Flash 1KB RAM1KB RAM

POR/BORPOR/BOR VREGVREG

Memory BusMemory Bus

Perip

hera

l Bu

sP

eriph

eral B

us

WDTWDT

16-bit 16MIPS16MIPSCore

16-bit ALU Register File16 x 16

17 x 17 MPY

Address Generation Barrel ShifterAccumulators

CTMU,Temp SenseCTMU,Temp Sense

Analog Comp - 3Analog Comp - 3

Output Compare - 2Output Compare - 2

I2CTM - 1I2CTM - 1

PWM – 3 pairsPWM – 3 pairs

RTCC & TimersRTCC & Timers

PPSPPS

ADC (10-bit)ADC (10-bit)

IND and EXT(-40 to 125C)

Input Capture - 3Input Capture - 3

SPITM - 1SPITM - 1

UART – 1UART – 1

Ultra-Low-Cost Series

= Included in DSC devices only18pin 20pin 28pin 36pin18PDIP 20PDIP 28SPDIP 36TLA18SOIC 20SOIC 28SOIC

20SSOP 28SSOP

28QFN

Package Options

= Included in MC devices only

This slide presents the high level architecture of the processor.

In the center, the traditional architecture of all 16 bit Microchip processors includes the ALU, 16 working registers and a 17x17 multiplier. PIC24F devices are pure 16-bit microcontrollers and these are their main core building blocks; dsPIC devices are also equipped with the blocks in the red-dotted rectangle. These blocks are the core elements of the dsp engine, including: address generators, barrel shifter, and dual 40-bit accumulators.

The flash memory size of these components is 16 Kbyte and the RAM is 1Kbyte. The chip is equipped with power on reset, watch-dog timer and internal voltage regulator to supply the core.

On the right side the peripherals are listed and these are:

1.Charge Time Measurement Unit (CTMU) for m-Touch and on-chip temperature sensing.

2.Three pairs of motor control PWMs

3.10-bit, 1.1Msps Analog-to-Digital Converter

4.Three analog comparators permitting the implementation of flexible fault protection without the need of external, stand-alone comparator chips

5.Three input capture and two output compare peripherals

6.Communication: SPI, UART and I2C

7.Real Time Clock Calendar

8.Peripheral pin select to remap inputs and outputs to the most convenient pins

A wide range of pin count variants and packages are available: 18, 20, 28 and 36 pin

Page 7: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

7

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 7

Motor Control PWM :- Six-channel 16-bit Motor Control PWM- Three duty cycle generators- Independent or Complementary mode- Programmable dead time and output polarity- Edge-aligned or center-aligned- Manual output override control- Up to two fault inputs- Trigger for ADC conversions- PWM frequency for 16-bit resolution (@ 16 MIPS) :

488 Hz for Edge-Aligned mode,244 Hz for Center-Aligned mode

-PWM frequency for 11-bit resolution (@ 16 MIPS)15.63 kHz for Edge-Aligned mode,7.81 kHz for Center-Aligned mode

Key Features

This slide summarizes the most important features of the Motor Control Peripheral. Up to 6 independent PWM outputs are available. Independent duty cycle generators, fully programmable dead time generators, edge-aligned and center aligned pwm signal generators are the most important features. One key feature is the possibility to manage fault signals generated by external circuitry. This allows to add protection from over-current, over-voltage or over-temperature in a very easy way. Class B compliance is implemented with these pins, as explained in a following slide.

The maximum operating speed for this family is 16 MIPs. However remarkable performances can still be obtained by the PWM peripheral, as, for instance 488 Hz PWM with 16 bit resolution in edge-aligned mode and 11 bits at 15.63 KHz.

Page 8: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

8

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 8

Analog to Digital Converter- 10-bit, 1.1 Msps Analog-to-Digital Converter (ADC):- Two and four simultaneous samples- Up to six input channels with auto-scanning- Conversion start can be manual or synchronized with one of four trigger sources- Sleep mode conversion for low-power applications- ±2 LSb max integral nonlinearity- ±1 LSb max differential nonlinearit

Analog Comparators- Three Comparator Modules- Up to four inputs per comparator- Blanking function- Output digital filter

Key Features

The ADC and Comparator are the two analog peripherals heavily involved in the design of motor control applications.

Up to six channels and the possibility to easily trigger the ADC sampling operation to the pwm activity ease the implementation of complex control algorithms where the synchronisation between the generated pwm and the reading of current and voltage is fundamental. Simultaneous sampling of up to four channels eases the designer’s task to monitor currents flowing into the motor phases.

Three comparators are available to help in designing safe operation of the system. Over-voltage and over-current can be easily detected and consequently the pwm operation can be stopped in hardware, that is without adding any critical delay. This helps in safety system operation. A couple of improved features make this comparator module very robust. Users have the option to enable the filtering feature, which prevents the comparator from responding to spurious noise. Blanking functionality allows to remove noise at the comparator input which might occur during pwm switching, which would again generate unwanted changes of the comparator output.

Page 9: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

9

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 9

Enabling IEC60730 class B Compliance

Fault Detect Pins

The Motor Control PWM module incorporates up to two fault inputs, FLTA1 and FLTB1. On all Motor Control devices, these fault inputs are implemented with Class B safety features. These features ensure that the PWM outputs enter a safe state when either of the fault inputs is asserted.

The FLTA and FLTB pins, when enabled and having ownership of a pin, also enable a soft internal pull-down resistor. The soft pull-down provides a safety feature by automatically asserting the fault should a break occur in the fault signal connection.

The PWM module also implements write protection for critical registers. This feature prevents unintentional writes to the P1FLTACON, P1FLTBCON and PWM1CON1 registers.

Page 10: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

10

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 10

Charge Time Measurement Unit (CTMU)-Supports capacitive touch sensing for touch screens and capacitive switches (mTouch™)

-Provides high-resolution time measurement for advanced sensor applications

-1 ns resolution for time measurement and accurate temperature sensing

- On-chip high-resolution temperature measurement capability

Capacitive Touch

The Charge Time Measurement Unit is a flexible analog module that provides accurate differential time measurement between pulse sources, as well as asynchronous pulse generation. Its key features include:

• Four edge input trigger sources

• Polarity control for each edge source

• Control of edge sequence

• Control of response to edges

• Precise on-chip temperature measurement

• Accurate current source suitable for capacitive measurement

Together with other on-chip analog modules, the CTMU can be used to precisely measure time, capacitance and relative changes in capacitance or generate output pulses that are independent of the system clock. The peripheral can also be used to implement a high precision temperature sensor with the use of an on-chip diode.

Page 11: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

11

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 11

Target Applications

Let us get started with an overview to some of the possible applications

Page 12: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filteringComparator with blanking and filtering Slide 12

Markets and Applications� Consumer:

− Refrigerator Compressors

− Dishwashers, Washing Machines, Dryers

− Vacuum Cleaners

− Motorized toys - Model Airplane, cars and boats

− Exercise equipment

− Power tools – Screwdrivers, Circular Saws, etc.

− Small appliances – Blenders and food processors

� Industrial:− HVAC Equipment

− FOC ACIM Motors

− Remote Intelligent sensors – CTMU Ultrasonic

− Stepper motor valve control

� Medical:− Infusion Pumps

− Tabletop lab equipment

� Automotive:− Fuel pumps, fans and compressors

− Cabin air movement, seat cooling/heating

The low cost Motor Control devices, dsPIC33FJ16MC101/102, PIC24FJ16MC101/102 and dsPIC33FJ16GP101/102 fit a number of different applications, among which:

In the consumer area:Refrigerator Compressors

Dishwashers, Washing Machines, Dryers

Vacuum Cleaners

Toys

Exercise equipment

Power tools

Small appliances

In the industrial area:HVAC Equipment

FOC ACIM Motors

Intelligent sensors

Stepper motor valve control

Medical applications:Infusion Pumps

Tabletop lab equipment12

Page 13: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

13

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 13

Development Tools to Get You Started

Let us have an overview of the available development tools.

Page 14: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filteringComparator with blanking and filtering Slide 14

Starter Kits and PIMs� Motor Control Starter Kit with mTouch™ Sensing

− On-board In-Circuit Programming/Debug via USB− On -board 3-phase BLDC motor− Capacitive touch slider for speed control with LED

indicators− Part # DM330015, $89.99

� The dsPICDEM™ MCLV Development Board + PIM*

− Three-phase 48V/15A inverter bridge− Support for sensorless Back Electro-Motive Force (B EMF),

sensored, single or dual-shunt vector control (FOC)− CAN, LIN, UART communication ports

� Explorer 16 Development Board + PIM*− Breadboard prototyping area− Alpha-numeric 16 x 2 LCD display and eight indicato r

LEDs− On-board high accuracy analog temperature sensor− Supports all PICtail™ Plus expansion boards

* Plug-in Modules (PIMs) available for dsPIC33FJ16GP102, PIC24FJ16MC102 & dsPIC33FJ16MC102

Developers can get started working with these devices by using one of three Plug in modules designed for:

Microchip’s MCLV drive for Low voltage motor control OR

MCHPs Explorer 16 General purpose development platform

For a complete, integrated development platform we are also releasing the Motor Control Starter Kit with mTouch.

This kit includes an onboard, USB-interfaced programmer / debugger and is pre-loaded with sample code demonstrating a few of the features of these new devices. The board is based on the dsPIC33FJ16MC102. It includes a complete drive circuit featuring Microchips own gate drivers, an onboard BLDC Motor, a user configurable switch, and an mTouch slider with LED indicators for speed control. Source code, as well as hardware design documentation, is available at Microchip.com.

6/23/2011

14

Page 15: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

15

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 15

Summary

• Customers can now add highly efficient Motor Control to cost sensitive applications

• Useful features can be added to your designs such as IEC60730 class B compliance and capacitive touch control

• You have an EASY way to get started with the MCSK or any of our Plug in Modules to use with our existing development platforms

• This new series of devices from MCHP offers some great features and brings DSC capability to a price point normally reserved for 8-bit MCUs

This webinar has covered the following main topics in introducing the new low-cost family of dsPIC33F and PIC24F Motor Control Devices and dsPIC33F General Purpose devices:

1.General overview of the family and its positioning in the wide Microchip product portfolio

2.Overview of the features, with some specific attention to the new (or improved) modules, like for instance the Class B compliant fault management and CTMU (Charge/Time Measurement Unit)

3.The available starter kit

Page 16: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

16

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 16

1. Motor Control Design Center (www.microchip.com /

motor):

- application notes with source code

- code examples

- hw development tools

- application examples

2. Web trainings

3. RTC (Regional Training Centers) classes

Additional Material

The Microchip web site is a good location where you can find Motor Control related material.

At www.microhip.com/motorthe Microchip Motor Control Design Center collects a very wide set of information (application notes, code examples, hw development tools, application examples) that helps in the development of Motor Control applications.In addition web trainings are available, targeting specifics of the processor peripherals and applications related topics.Microchip makes also available to customers technically detailed trainings in its RTC (Regional Training Centers).

Page 17: Low Cost Motor Control Family - Microchip Technology Inc.€¦ · Welcome to the “Low Cost Motor Control Family ... 16-bit 16MIPS Core 16-bit ALU ... Slide 8 Analog to Digital Converter

17

© 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 17

Thank You