CostEffective Advanced Analog and Digital Integration
2 PIC16(L)F178X 28/40pin Advanced Analog MCU Family 8bit MCUs with costeffective advanced analog and digital integration 12bit ADC 8bit DAC Operational Amplifiers (Op Amps) with RailtoRail input/output High performance RailtoRail Comparators Programmable Switch Mode Controller Advanced 16bit PWM capabilities Enables highest level of advanced PWM control & accuracy for 8bit MCUs Increased System Efficiency Increased system performance & BOM cost reductions Lighting, motor, and digital power supply applications Feature extreme Low Power Technology LF variants feature 50 na Sleep and 32 µa/mhz Active current consumption
Features/Memory 3 PIC16F178X Family Production Available Now Design Available April PIC16F1786 14KB/256EE/1K 2x PSMC 11x12bit A/D 8bit DAC, 2x OpAmp 3x Fast Comp PIC16F1783 7KB/256EE/512 2x PSMC 11x12bit A/D 8bit DAC, 2x OpAmp 3x Fast Comp PIC16F1787 14KB/256EE/1K 3x PSMC 14x12bit A/D 8bit DAC, 3x OpAmp 4x Fast Comp PIC16F1784 7KB/256EE/512 3x PSMC 14x12bit A/D 8bit DAC, 3x OpAmp 4x Fast Comp PIC16F1782 3.5KB/256EE/256 2x PSMC 11x12bit A/D 8bit DAC, 2x OpAmp 3x Fast Comp F Variant: 2.3V 5.5V LF Variant: 1.8V 3.3V 28pin 40pin
4 Lighting LED/Fluorescent Automotive Flashlights Emergency PIC16(L)F178X MCUs Target Markets & Applications Battery Charging CC/CV, NiCD, NiMH PB, NaZN, LiIon Energy Harvesting (e.g.,solar) SwitchMode Power Supplies DCtoDC ACtoDC Motor Control BLDC/BDC, Stepper, AC Induction GeneralPurpose Op Amp Integration
Key Peripherals 5
6 Application Example: LED Buck Convertor PIC16F178X
7 Application Example: LED Buck Convertor (Cont d) PIC16F178X HighVoltage MOSFET Drive Stage MOSFET Driver
8 Application Example: LED Buck Convertor (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart 64 MHz Clock PIC16F178X HighVoltage MOSFET Drive Stage Synchronous Buck Regulator controlled by PIC16F178X microcontroller for maximum efficiency PSMC Programmable Switch Mode Controller MOSFET Driver
9 Application Example: LED Buck Convertor (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart PIC16F178X Synchronous Buck Regulator controlled by PIC16F178X microcontroller for maximum efficiency 64 MHz Clock PSMC Programmable Switch Mode Controller HighVoltage MOSFET Drive Stage MOSFET Driver Fast switching frequency allows use of smaller inductor & capacitor Op Amp RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less loss Current sense and feedback to sustain constant current
10 Application Example: LED Buck Convertor (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart RailtoRail 50 ns response time for highspeed switching frequency 64 MHz Clock Comparator PIC16F178X PSMC Programmable Switch Mode Controller HighVoltage MOSFET Drive Stage MOSFET Driver Synchronous Buck Regulator controlled by PIC16F178X microcontroller for maximum efficiency Fast switching frequency allows use of smaller inductor & capacitor 8bit DAC with FVR input @1.024V equating to 4 mv resolution 8bit DAC FVR Op Amp RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less loss Current sense and feedback to sustain constant current
11 Application Example: LED Buck Convertor (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart RailtoRail 50 ns response time for highspeed switching frequency Overvoltage monitor with PSMC autoshutdown 8bit DAC with FVR input @1.024V equating to 4 mv resolution 64 MHz Clock Comparator 8bit DAC PIC16F178X Comparator PSMC Programmable Switch Mode Controller FVR HighVoltage MOSFET Drive Stage MOSFET Driver Synchronous Buck Regulator controlled by PIC16F178X microcontroller for maximum efficiency Voltage divider to prevent overvoltage of load Fast switching frequency allows use of smaller inductor & capacitor Op Amp RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less loss Current sense and feedback to sustain constant current
12 Application Example: LED Buck Convertor (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart RailtoRail 50 ns response time for highspeed switching frequency Overvoltage monitor with PSMC autoshutdown 8bit DAC with FVR input @1.024V equating to 4 mv resolution System Health Monitor: Output voltage, temperature, & current 64 MHz Clock Comparator 8bit DAC PIC16F178X 10/12bit ADC Comparator PSMC Programmable Switch Mode Controller FVR Op Amp HighVoltage MOSFET Drive Stage MOSFET Driver Realtime temperature monitoring of LEDs for failsafe operation Synchronous Buck regulator controlled by PIC16F178X microcontroller for maximum efficiency Voltage divider to prevent overvoltage of load RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less loss Resistive Temperature Sensor Current sense and feedback to sustain constant current Fast switching frequency allows use of smaller inductor & capacitor
13 Application Example: LED Buck Convertor (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart RailtoRail 50 ns response time for highspeed switching frequency Overvoltage monitor with PSMC autoshutdown 8bit DAC with FVR input @1.024V equating to 4 mv resolution System Health Monitor: Output voltage, temperature, & current 64 MHz Clock Comparator 8bit DAC PIC16F178X 10/12bit ADC Comparator Highefficiency, closedloop control with fast switching speeds Costeffective integration with BOM reductions Op Amp, voltage reference, reduced size of inductors, capacitors, & resistors PSMC Programmable Switch Mode Controller FVR Op Amp HighVoltage MOSFET Drive Stage MOSFET Driver Realtime temperature monitoring of LEDs for failsafe operation RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less loss Synchronous Buck regulator controlled by PIC16F178X microcontroller for maximum efficiency Voltage divider to prevent overvoltage of load Resistive Temperature Sensor Current sense and feedback to sustain constant current Fast switching frequency allows use of smaller inductor & capacitor
14 Application Example: Sensorless 3Phase BLDC Motor Control PIC16F178X
15 Application Example: Sensorless 3Phase BLDC Motor Control (Cont d) PIC16F178X HighVoltage MOSFET Drive Stage
16 Application Example: Sensorless 3Phase BLDC Motor Control (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart 64 MHz Clock PIC16F178X 3phase drive controlled by PIC16F178X microcontroller with three complementary pairs for maximum efficiency PSMC Programmable Switch Mode Controller HighVoltage MOSFET Drive Stage
17 Application Example: Sensorless 3Phase BLDC Motor Control (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart 64 MHz Clock PIC16F178X 3phase drive controlled by PIC16F178X microcontroller with three complementary pairs for maximum efficiency BEMF Zero Cross Commutation Sensing: Determines the position & speed of the motor PSMC Programmable Switch Mode Controller HighVoltage MOSFET Drive Stage Commutation period measurement for speed & position control 8bit DAC Voltage Reference for adjustable commutation point (RPM set point) TMR1 Gate Comparator 8bit DAC Voltage divider to determine commutation point
Application Example: Sensorless 3Phase BLDC Motor Control (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart 64 MHz Clock PIC16F178X 3phase drive controlled by PIC16F178X microcontroller with three complementary pairs for maximum efficiency BEMF Zero Cross Commutation Sensing: Determines the position & speed of the motor PSMC Programmable Switch Mode Controller HighVoltage MOSFET Drive Stage Commutation period measurement for speed & position control 8bit DAC Voltage Reference for adjustable commutation point (RPM set point) TMR1 Gate 10/12bit ADC Comparator 8bit DAC Op Amp Voltage divider to determine commutation point Current sense and feedback to sustain constant current 10 or 12bit ADC for highresolution voltage measurements for over current detection RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less energy loss 18
Application Example: Sensorless 3Phase BLDC Motor Control (Cont d) 16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart Firmware control of PSMC based on T1G & ADC input BEMF Zero Cross Commutation Sensing: Determines the position & speed of the motor 64 MHz Clock Firmware Control PIC16F178X PSMC Programmable Switch Mode Controller HighVoltage MOSFET Drive Stage 3phase drive controlled by PIC16F178X microcontroller with three complementary pairs for maximum efficiency Commutation period measurement for speed & position control 8bit DAC Voltage Reference for adjustable commutation point (RPM set point) TMR1 Gate 10/12bit ADC Comparator 8bit DAC Op Amp Voltage divider to determine commutation point Current sense and feedback to sustain constant current 10 or 12bit ADC for highresolution voltage measurements for over current detection RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less energy loss 19
16bit PWM with dedicated 64 MHz clock 6 steerable outputs or 3 steerable output pairs Blanking Control for transient filtering Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart Firmware control of PSMC based on T1G & ADC input BEMF Zero Cross Commutation Sensing: Determines the position & speed of the motor Application Example: Sensorless 3Phase BLDC Motor Control (Cont d) 64 MHz Clock Firmware Control PIC16F178X Highefficiency closedloop control enabling higher RPMs Cost effective integration with BOM reductions Op Amp, voltage reference, reduced size of inductors, capacitors & resistors PSMC Programmable Switch Mode Controller HighVoltage MOSFET Drive Stage 3phase drive controlled by PIC16F178X microcontroller with three complementary pairs for maximum efficiency Commutation period measurement for speed & position control 8bit DAC Voltage Reference for adjustable commutation point (RPM set point) TMR1 Gate 10/12bit ADC Comparator 8bit DAC Op Amp Voltage divider to determine commutation point Current sense and feedback to sustain constant current 10 or 12bit ADC for highresolution voltage measurements for over current detection RailtoRail Op Amp in Gain operation allows use of smaller currentsense resistor for less energy loss 20
21 Pricing & Availability Pricing 28pin PIC16(L)F1782, PIC16(L)F1783, and PIC16(L)F1786 SPDIP, SOIC, SSOP, 6 x 6 mm QFN, 4 x 4 mm UQFN 10 ku Pricing Starting at $1.18 each 40pin PIC16(L)F1784, and PIC16(L)F1787 PDIP, TQFP, 8 x 8 mm QFN, 5 x 5 mm UQFN 10 ku Pricing Starting at $1.47 each Availability 28pin PIC16(L)F1782 and PIC16(L)F1783 Released to Production 28 & 40pin PIC16(L)F1784, PIC16(L)F1786, and PIC16(L)F1787 Engineering Samples Available April 2012 Release to Production targeted for July 2012 Collateral Preliminary PIC16(L)F1782/3 Data Sheet available now at www.microchip.com Preliminary PIC16(L)F1784/6/7 Product Brief available now at www.microchip.com Preliminary PIC16(L)F1784/6/7 Data Sheet expected May 2012
22 Tool Support Assembly & C code development and debug Free MPLAB X IDE Integrated Development Environment MPLAB XC8 Compiler available as a Free download Go to www.microchip.com/free Thirdparty C compiler support CCS, microengineering Labs, and Byte Craft Limited For more information on the enhanced midrange core MCUs Go to www.microchip.com/8bit
23 Summary 8bit MCUs with cost effective advanced analog and digital integration 12bit ADC 8bit DAC Op Amps with RailtoRail input/output Highperformance RailtoRail comparators Programmable Switch Mode Controller Advanced 16bit PWM capabilities Enables highest level of advanced PWM control & accuracy for 8bit MCUs Increased System Efficiency Increased system performance & BOM cost reductions Lighting, motor, and digital power supply applications Feature extreme Low Power Technology LF variants feature 50 na Sleep and 32 µa/mhz Active current consumption
Thank You Note: The Microchip name and logo, MPLAB and PIC are registered trademarks of Microchip Technology Inc. in the U.S.A., and other countries. mtouch is a trademark of Microchip Technology Inc. in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective companies.
Additional Information
26 Integrated Peripheral Benefits Feature 12/10bit AnalogtoDigital Converter with softwareselectable references Benefit Increased ADC resolution and ability to implement Low Voltage Detect Result Accurate lowvoltage analog signal reads Measure remaining battery voltage 50 ns fast comparators with railtorail input/output & hysteresis Increased voltage detection ranges with no output jitter Greater flexibility in system design with lowpower enhancements Fixed Voltage Reference and 8bit DAC Increased resolution and stable references, independent of V DD (not susceptible to supplyvoltage drifting) Integrated solution reducing external components and system costs
27 Integrated Peripheral Benefits (Cont d) Feature Programmable Switch Mode Controller (PSMC) Benefit Advanced, highspeed 16bit PWM capabilities with: 28pin: 8 outputs 40pin: 14 outputs Result Customizable, highspeed PWMs with increased resolution and control Integrated Operational Amplifiers Increased analog integration with flexible design options Ability to create powerful signalconditioning solutions with minimal external components Multiple CCP Modules Drive multiple PWMs; Measure time elapsed between two events; time external events simultaneously Flexible, diverse design options
Programmable Switch Mode Controller (PSMC) Industry s best 16bit PWM capabilities for power supplies, motor control, and lighting Various Clock Sources: External, System Clock, Independent 64 MHz Various input sources: Comparators, External Pins Blanking Control for transient filtering Single 16bit PWM with up to 6 steerable outputs Complementary 16bit PWM with up to 3 steerable output pairs Independent rising/falling output control Dead band with independent rise & fall control Polarity Control / Auto Shutdown & Restart Flexible PWM Output Modes: Push/Pull, Pulse Skipping, 3phase, Fixed Duty Cycle, Brushed DC with forward/reverse Output Gating externally controlled activate/deactivate Input Sources 1 blanking control 1 2 3 4 Benefits Customizable, highspeed 16bit PWM with increased resolution and control Simplifies the implementation of applications, such as motor control, lighting and power supplies. Up to six single PWM Outputs or Up to three Complimentary Pair Outputs 2 Independent rising/falling output control 3 rising edge deadband control 4 falling edge deadband control Comparator External 64 MHz Clock 1 Electrical Transient Source Input Clock PSMC Out0 Out1 Out2 Out3 Out4 Out5 2 3 4 28
29 ADC, Comparators, & FVR Integrated 10/12bit Differential ADC 10bit and 12bit modes Upto 14 single input channels: 7 differential channels Selectable References: FVR, DAC, or external pin 100 ksps conversion rate upto 14 channels V DD FVR DAC ADC 12 bit result HighPerformance Comparators RailtoRail inputs/outputs High and low power modes Hysteresis option (20 mv / 5 mv) 50 ns response time in highpower mode V Comparator V V SS Vout External I/O Fixed Voltage Reference (FVR) 1.024V / 2.048V / 4.0096V reference independent of Vdd Multiple Outputs: DAC ADC Opamp Comparator External pin via buffer Fixed Voltage Reference DAC ADC Opamp Comparator External pin
30 Operational Amplifier Integrated PIC16F178X OpAmp Modeled after Microchip s MCP6001 op amp RailtoRail Input/Output Gain Bandwidth Product (GBWP) 3 MHz (Fast Mode) 100 khz (Slow Mode) Multiple Input Sources External Pin Fixed Voltage Reference (FVR) 8bit Digital to Analog Converter (DAC) All Pins Available Externally FVR DAC Up to 3 Op Amps V Op Amp V Vout
Full Range 31 8bit DigitaltoAnalog Converter (DAC) VDD FVR VREF VSS VREF R(255) R(254) R(xx) R(xx) R(1) R(0) VSRC = 1.8V 5V Voltage Resolution Select 7.0 20mV Vout Comparator ADC FVR DACOUT1/2 Simple resistorladder topology 256 voltage steps: R(0) R(255) Multiple voltage references Vdd/Vss Fixed Voltage Reference (FVR) External Pin DAC Outputs to: Comparator ADC Fixed Voltage Reference (FVR) DACOUT pins Full Range Output Vout (Min Resolution @ 1.8V) = 7 mv Vout (Min Resolution @ 5V) = 20 mv
Current 32 extreme Low Power Operation XLP Technology The Industry Standard for Low Power SLEEP Mode Extended Watchdog Timer Timer1 Oscillator (T1OSC) Low Power Brown Out Reset (LPBOR) Active Mode XLP Requirements < 100 na < 800 na < 800 na Not Applicable Not Applicable PIC16LF178X * @ 1.8V, 4 MHz (EC mode) 50 na 500 na 500 na 0.5 µa @ 3V 32 µa/mhz * 1.8V 3.6V Operation Low current T1OSC for RealTimeClock (RTC) Low ACTIVE current draw Less time in ACTIVE Low Power 32 MHz Intosc Enhanced Core efficiencies 1.8V 3.6V Operation Low SLEEP current draw Low WDT current draw More time in SLEEP Lower Application Average Power Consumption time
33 Smallest Form Factors Packaging Evolution 28pin Package Options & Footprints PIC16(L)F1782, PIC16(L)F1783, PIC16(L)F1786 40/44pin Package Options & Footprints PIC16(L)F1784, PIC16(L)F1787 34.3 x 7.4 x 5.1 mm (SPDIP) 50.3 x 15 x 6.35 mm (PDIP) 27% reduction 17.9 x 10.3 x 2.1 mm (SOIC) 81% reduction 55% reduction 57% reduction 10.2 x 7.8 x 1.75 mm (SSOP) 6 x 6 x 0.9 mm (QFN) 56% reduction 12 x 12 x 1 mm (TQFP) 8 x 8 x 0.9 mm (QFN) 56% reduction 4 x 4 x 0.5 mm (UQFN) * 61% reduction 5 x 5 x 0.5 mm (UQFN) * PIC16(L)F1782 and PIC16(L)F1783 Only