announcing the pic16(l)f1769 family of 8-bit...
TRANSCRIPT
Announcing the
PIC16(L)F1769 Family of 8-bit MCUs
February 24, 2015
2
New 8-bit PIC® MCUs drive multiple independent, closed-loop, switch-mode-power-
supply channels, simplifying designs and eliminating many discrete components in
solid-state-lighting and power-conversion systems.
High integration of Intelligent Analog & Digital Features
Integrates up to two complete sets of Core Independent Peripherals, designed to optimally
drive switch-mode power supplies and apply sophisticated modulation of the output for
high-resolution, dimmable solid-state-lighting applications.
New: Programmable Ramp Generator (PRG)
Eliminates the CPU burden related to slope and ramp compensation in hybrid power-
conversion applications
Stabilizes power output, improving frequency stability and system efficiency
Ideal for Peak Current Mode power supplies
Increased System Efficiency
Increased system performance & BOM cost reductions
Control, power-supply and general-purpose applications
Migration path for customers using 8-bit PIC MCUs
Available in small-footprint packages: 14 and 20 pins
PIC16(L)F1769 Family Multi-Channel SMPS with LED Dimming Engine
3
Optimized for power with analog and digital integration
• Up to 14 KB Flash Program Memory
• Up to 1 KB RAM
PIC16F1764/5
Channel 1
PIC16F1768/9
Channel 1
Channel 2
14 Pins 20 Pins
PIC16(L)F1769 Family Multi-Channel SMPS with LED Dimming Engine
Additional Digital Features:
• Three Configurable Logic Cells (CLCs)
• Peripheral Pin Select (PPS)
• Communications: EUSART & I2C™ / SPI
Additional Analog Features:
• Programmable Ramp Generators (PRGs)
• 10-bit Analog to Digital Converters (ADCs)
• Up to 12 channels
• Zero Cross Detect (ZCD)
Feature eXtreme Low Power (XLP) :
• 50 nA Sleep Current
• 35 µA/MHz Active Current
Up to 2 LED Dimming Engines, each featuring:
• 10-bit Digital to Analog Converter (DAC)
• 5-bit Digital to Analog Converter (DAC)
• Operational Amplifiers (Op Amps)
• 2 x High-Speed Comparators (Comps)
• 10-bit PWM (switching time base)
• 16-bit PWMs (dimming)
• Data Signal Modulators (DSMs)
• Complementary Output Generators (COGs)
• Hardware Limit Timers (HLTs)
• High-Current I/Os (100 mA)
4
Switch-Mode Power Supplies DC-to-DC AC-to-DC
Solid-State Lighting Architectural Automotive Flashlights Emergency
Battery Charging CC/CV, NiCD, NiMH PB, NaZN, Li-Ion Energy Harvesting (e.g., Solar)
Motor Control BLDC/BDC, Stepper, AC Induction
General-Purpose Op Amp Integration
PIC16(L)F1769 Family Target Markets & Functions
5
Family Functionality Highlights: • Multiple independent analog control loops
• Advanced analog and digital integration with flexible interconnections
• Integrated system-management and monitoring peripherals
• Analog ramp generator: Fast responses & stability for SMPS
• Increased system performance & BOM cost reductions
8-bit PIC® Microcontrollers
CPU Memory
Functions
System Communications
Timing & Counting
System Management
Power Conversion & Charging
Input & Sensor Interfaces
Output & Signal Generation
Custom Functions
mTouch®
Zero Cross
Detect
Operational
Amplifiers
Voltage
Reference
DAC
High-Speed
Comparators
Ramp Generator
Slope
Compensation
eXtreme Low Power
(XLP) Technology
8/16-bit
Timers
TEMP Indicator
Peripheral Pin
Select
Configurable
Logic Cell
SPI/ I2C™
(E)USART
Hardware
Limit Timer
Complementary
Output Generator
10b/16b PWM
Data Signal
Modulator
ADC Capture Compare
PWM
High-Endurance
Flash (Data)
High-Current
I/O
Function Enablement Via Flexible Peripheral Integration
6
Function Enablement: Precision LED Dimming Engine - Description
LED Dimming Engine Interconnection of 10-bit/16-bit PWM, DSM, & Op Amp
Stage 1: Overshoot Control PWM: 10-bit SMPS & 16-bit Dimming
Data Signal Modulator (DSM):
Synchronizes PWM switching signals
Stage 2: Decay Control Op Amp:
Tri-stated to prevent saturation
16-bit PWM:
Freezes Op Amp compensation during “OFF”
LOAD disconnect for fast output “OFF”
Compensation
PIC® Microcontroller
-
+
OPA
PRG
+
-
Comp
DSM
Data
Carrier
16-bit
PWM
COG
10-bit
PWM
DAC
PCM
Power Supply
FET Drive
Instantaneous
Current
Average
Current
LOAD
Disconnect
Stage 2
Fast LED “Turn-OFF” via 16-bit PWM
Stage 1
10-bit PWM for generating power supply
switching frequency
Stage 1 & 2
16-bit Dimming control signal generation
Stage 1
Synchronized output switching via DSM
Stage 1
Rail – Rail Op Amp as error amplifier
with output disable for improved control-
loop performance, minimizing LED
overshoot
Stage 2
Compensation “Freeze” via tri-state Op Amp
7
LED Dimming Engine Interconnection of 10-bit/16-bit PWM, DSM, & Op Amp
Synchronized input / output switching
Smooth signal switching
Prevents partial signal glitching
Stabilized output power
Lower code overhead
LED Dimming
Reduces heat
Increases LED life
Minimizes color shift
Core-independent operation
Operation while in low-power SLEEP
Function Enablement: LED Dimming Engine - Benefits
10-bit PWM
DSMOut
16-bit PWM
LE
D C
urr
en
t
Switching
Overshoot
VCAP
Decay
Precise Switching DSM + 16b PWM + 10b PWM
Fast “OFF” LOAD Switch via 16b PWM
Compensation “Freeze” via tri-state Op Amps
8
Function Enablement: Stable Power Control Loop
Programmable Ramp Generator (PRG) Analog ramp generator (with slope compensation) for
Switch-Mode Power Supplies (SMPS)
Creates independent rising and/or falling voltage ramps
Multiple interconnects for closed-loop control
Multiple output modes
Examples: Slope, Ramp, Triangle
Intelligent control of integrated analog feedback loop
Benefits BOM cost reduction
Simplifies SMPS design
Higher Precision than RC time constant
Improved closed-loop control
Core-independent operation
Operation while in low-power SLEEP
Example Uses Peak-Current-Mode (PCM) Switch-Mode
Power Supplies (SMPS)
LED Drivers
Triangle Mode for center-aligned analog PWM generation
Compensation
PIC® Microcontroller
-
+
OPA
PRG
+
-
Comp
COG
10-bit
PWM
DAC
PCM
Power Supply
FET Drive
Instantaneous Current
Average
Current/Voltage
100mA
9
PIC16F1769 Dual Independent-Channel Power Supply Demonstration • The PIC® MCU uses its on-chip peripherals to create independent, closed-loop channels. Independently
controls two LED strings, and automatically adjust modes (ON/OFF, blink, strobe, fade and auto), which
displays the capability of multiple independent channels in a simple 8-bit MCU design.
• Hardware-based solution reduces latency, increases system performance, eliminates discrete
components and frees the CPU to perform the task of driving the LED array.
• Constant Current-mode
• PIC16F1769 Controlled
Uses integrated peripherals, including:
• Programmable Ramp Generator – system stabilizing
• Intelligent Analog: DACs, ADCs, Op amps, Comparators
• PWMs: 10-bit and 16-bit
• I/O Pins – driving LEDs directly
• 2 Strings of LEDS
• 3 – White
• 3.3V, 20mA
• 3 – Blue
• 3.3V, 20mA
Powered via:
• 3 x AA
Dual Independent Power Stages Demonstration Platform
LED String #1 Independently controlled
LED String #2 Independently controlled
Controller PIC16F1769 Family:
Create up to two independent
closed-loop channels
Buttons Three buttons:
Center: Change modes,
select changes and select
channels
Left/Right: Adjust each
independent channel
selected.
Channel #1 Independent channel, closed-
loop control for independent
channel operation.
Channels #2 Independent channel, closed-
loop control for independent
channel operation.
10
• Innovative and easy to use plug-in tool for MPLAB® X IDE
• Generates seamless, easy-to-understand drivers and intializers that are
inserted into your project
• Easy migration between similar MCUs and peripherals
www.microchip.com/mcc
Available: In 2.25, releasing in April
11
PIC16(L)F1769 Family Development Tool Support: All Available Now
Development Boards PICkit™ 3 Low Pin Count Demo Board (DM164130-9)
PICDEM™ Lab Development Kit (DM163045)
Programmers/Debuggers PICkit 3 (PG164130)
MPLAB® ICD3 (DV164035)
MPLAB PM3 (DV007004)
IDE/Compiler MPLAB X IDE
MPLAB Code Configurator
MPLAB XC8 Compiler
PICkit 3 Starter Kit (DV164130)
12
PIC16(L)F1769 Family Summary
New 8-bit PIC® MCUs drive multiple independent, closed-loop, switch-mode-power-
supply channels, simplifying designs and eliminating many discrete components in
solid-state-lighting and power-conversion systems.
Precision LED dimming engine (16-bit PWMs/DSM/Opamp/Load Switch)
High integration of Intelligent Analog & Digital Features High-Speed Comparators
16-bit PWMs
10-bit DACs
High-Current I/Os
Programmable Ramp Generator (PRG)
Available in small-footprint packages: 14 and 20 pins
Increased System Efficiency
Increased system performance & BOM cost reductions
Lighting and Digital Power Supply applications
Feature eXtreme Low Power (XLP) Technology
Back-Up Slides
14
PIC16(L)F1769 Family
15
PIC16F1765 14KB / HEF / 1KB
PIC16F1764 7KB / HEF / 512B 8x10b ADC, 5b DAC, 10b DAC, 2xHSComp, OPA, PRG, 3xHLT, 3x16bTMR, DSM, CCP, PWM, 16b PWM, ZCD, COG, 3xCLC, PPS, 2x100mA I/O, TEMP, SPI/I2C™, EUSART
PIC16F1769 14KB / HEF / 1KB
PIC16F1768 7KB / HEF / 512B 12x10b ADC, 2x5b DAC, 2x10b DAC, 4xHSComp, 2xOPA, 2xPRG, 3xHLT, 3x16bTMR, 2xDSM, 2xCCP, 2xPWM, 2x16b PWM, ZCD, 2xCOG, 3xCLC, PPS, TEMP, 2x100mA I/O, SPI/I2C, EUSART
14-Pin 20-Pin
Fe
atu
res
& M
em
ory
PIC16(L)F1769
Intelligent Analog Optimized for SMPS
Samples: Now
Production: March’15
16
PIC16(L)F1769 Availability
Availability:
• 14-pin – PIC16(L)F1764, PIC16(L)F1765 Samples & Production Available: March‟15
• 20-pin – PIC16(L)F1768, PIC16(L)F1769 10 ku-Up starting at $1.03 Samples & Production Available: March‟15
Pricing:
• Starting at $0.87 at 10 ku-Up
Collateral:
• PIC16(L)F1764/5/8/9:
• Data Sheet: www.microchip.com/PIC16F1769Family
17
16-bit Pulse Width Modulation (PWM) Period, Phase, Duty Cycle and Offset control
PWM Modes
Standard
Center Aligned
Configurable Set/toggle on timer match
Flexibility when using multiple PWM Outputs
Use of offset registers to stagger outputs
Selectable internal or external clock source
Dedicated 16-bit Time Base
Four compare modes
Useable as a general purpose 16-bit timer/counter
Paired with the DSM to create LED dimming engine
Benefits Reduced EMI using Center Aligned
Intelligent PWM Reconfiguration
Use interrupts to trigger events
Precise duty cycle control
Smaller step size
Smoother transitions
Core independent operation
Example Uses Motor Control
Switch Mode Power Supplies (SMPS)
Intelligent LED Lighting
Color mixing & Smooth Dimming
16-bit Pulse Width Modulation High Resolution with Independent Time Base
16-bit PWM
16-bit
PWM
16-bit
Timer
Compare
Interrupts
Prescaler
(1/2/4/8/16/
32/64/128)
Clock Source
18
Hardware Limit Timer Hardware Monitoring & Fault Detection
Hardware Limit Timer (HLT) Hardware monitoring for missed periodic events and
fault detection (stalls, stops, etc.)
Period timer with external reset input
Flexible design
Selectable start of event trigger
Multiple modes
Seven available clock sources
Resolution of ¼ instruction cycle
Useable as a general purpose 8-bit timer/counter with external reset capabilities
Benefits Reduces code complexity
No code for detection set-up
No code to manage timer
Core-independent operation
Operation while in low-power SLEEP
Example Uses Safety limit in closed-loop-control
applications
Power supplies
Motor drivers
PWM
Hall Effect Sensor
FE
T
Driv
ers
Example: Monitoring a motor for fault conditions
HLT
19
Example: Differential Amplifier Utilize the FVR with Op-amp to amplify the difference of two signals „Vout = V1 – V2‟
FVR set to Vdd/2 with signal gain based on ratio of „R2/R1‟
PIC Microcontroller
OpAmp
V+
V-
Vout
PIC® Microcontroller
OpAmp
V+
V-
Vout
Example: Comparator with Software Adjustable Reference Utilize the FVR with Op-amp to create custom analog-to-digital-conversion window
Translate analog signal into a manageable digital equivalent
Can be utilized as an analog decoder
FVR
Operational Amplifier Integrated Signal-Conditioning Examples
VDD/2
VDD
VSS
VDD/2
VDD
VSS
R2
R1
R1
FVR
R2 V2
V1
20
Benefits TRIAC control
Synchronized switching of relays
Reduces external components
Minimizes PCB real estate
Core-independent operation
Operation while in low-power SLEEP
Example Uses AC Power Supplies
Timing Control
White Goods
TRIAC Control
TRIAC Dimming
Zero Cross Detect (ZCD) Senses when High-Voltage AC signal on pin crosses
through ground
Pin is held at constant safe voltage
No additional transient protection required
Indicates positive or negative phase
Generates interrupt on zero cross
Sets register flag on zero cross
Can be used to determine AC line frequency
Flexible interconnectivity with internal peripherals
Zero Cross Detect High-Voltage AC Zero Crossing Detection
12
0-2
40
VA
C
Vo
ltag
e In
pu
t
ZCD
AC Input Zero
Crossing
Interrupt
21
High-Endurance Flash Non-Volatile Data Storage without EEPROM
High-Endurance Flash (HEF) 128B of non-volatile data memory
Shared with Flash program memory
100k E/W cycle high endurance flash
Benefits Provides non-volatile data storage
Low cost alternative to EEPROM
Robust data storage & durability
Example Uses Data logging
Look-up tables
Configuration & calibration settings
PIC® Microcontroller
Flash Program Memory
HEF
Non-volatile
Application
Data
22
Peripheral Pin Select (PPS) Configure any digital peripheral to any I/O pin
Provides increased freedom & optimized use of integrated digital resources
Flexible pin function assignment
Route peripheral to multiple pins to increase current drive
Runtime configuration of pin out
Benefits Eliminates “pin overlap” for total
optimization of peripheral resources
Simplified and optimized migration
Provides layout flexibility
Example Uses Systems requiring highest signal
integrity
Migration of legacy designs
Support for new pin-out configurations
Applications that require optimized tracing & board-space usage
PIC® Microcontroller VDD Vss
PPS Digital
Peripherals
Peripheral Pin Select I/O Pin Remapping of Digital Signals
23
eXtreme Low Power Industry-Leading Low Power Technology
eXtreme Low Power (XLP) XLP Requirements
SLEEP Mode Current: <100nA
Any wake-up Timer Current: <800nA
Benefits Increases battery life
Decreases standby power consumption for AC-powered devices
Example Uses Consumer appliances
Smoke & CO detectors
Battery-operated devices
Devices requiring low standby power
Note: The Microchip name and logo, MPLAB, mTouch and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A., and other countries.
PICkit ,and PICDEM are trademarks of Microchip Technology Incorporated in the U.S.A., and other countries. All other trademarks mentioned herein are the
property of their respective companies.