Intelligent Lighting Solutions Intelligent Lighting and Control Solutions Enabling Innovation in Lighting www.microchip.com/lighting Intelligent Lighting and Control Summary Microchip can meet the technical needs of lighting engineers with its large array of 8-, 16-, 32-bit PIC® microcontrollers, analog, wireless, and human interface products. With advanced peripheral integration and support for all lighting technologies, a scalable Microchip solution provides significant flexibility versus that of a pure analog or ASIC implementation. Designing with Microchip-based intelligent lighting solutions and control enables innovation that expands lighting product capabilities and provides product differentiation. Light-emitting diode (LED) and fluorescent technologies are currently at the forefront of delivering the most efficient alternatives to incandescent lighting. Although both pose technical challenges, they also offer significant advantages beyond simple incandescent light bulb replacement, including improved efficacy (lumens/watt), reduced energy consumption and the ability to add intelligence. Because the light quality of these alternate lighting technologies is perceived to be similar to that of incandescent lighting, the benefits of longer life and increased energy savings may not always be considered significant enough to motivate changes in the market. Microchip’s advanced lighting solutions offer you the opportunity to incorporate non-traditional capabilities into your lighting designs. Features such as predictive failure and maintenance, energy monitoring, color and temperature maintenance and remote communications and control are just some of the advanced capabilities that can make intelligent lighting solutions more attractive. These advanced capabilities—along with reduced operating, maintenance and energy costs—can quickly translate to significant savings, particularly for corporate and commercial facilities. Value Proposition Microchip-based lighting solutions provide opportunities to further enhance any lighting application through product differentiation and an improved user experience. Intelligence Flexible Power Scalable Design ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ Scalable performance • 8-, 16-, 32-bit PIC MCUs • Analog products • Wireless ICs and modules • Human interface products ■ Customizable solutions ■ Ease of use • Easy-to-use development tools • Reference designs and collateral • Lighting design partner specialists Communication and networking Lumen and color control Environmental sensing Thermal management Predictive failure and maintenance Daylight harvesting Smooth dimming control Color mixing Closed loop lighting control Remote fault detection User interface and control Flexible power topology support High efficiency power conversion Failsafe monitoring Energy monitoring and control Energy harvesting (e.g. solar) Battery management and charging Learn More Microchip offers various resources to assist you in your next product design. Learn more about Intelligent Lighting and Control solutions from Microchip by visiting us on the web at: www.microchip.com/lighting or emailing us at: [email protected]. 2 Intelligent Lighting and Control Solutions Lighting Technology Basics Incandescent Lighting Technology Advantages Disadvantages ■ Cheap ■ Large amounts of visible light ■ No electronics required ■ Poor efficiency • ~10% input energy = light • ~90% input energy = radiated heat • 10–30 lumens/watt (efficacy) ■ Short life: 1,000–2,000 hours Incandescent light sources are good at creating large amounts of visible light and even greater amounts of heat. As a result, a typical light bulb is not very efficient—only about 10% of the input energy is output as light with the remaining 90% being wasted as radiated heat. The typical light bulb has a relatively short lifetime—ranging from several hundred to a couple thousand hours—as the extreme heat of the tungsten causes it to evaporate and eventually fail. Fluorescent Lighting and HID Technology Advantages Disadvantages ■ Relatively inexpensive • ~75% less energy than incandescent • More than 70 lumens/watt (efficacy) ■ Increased life: > 8,000 hours ■ ■ ■ ■ Typically requires “warm up” Can contain mercury Sensitive to environment and orientation Moderate light quality Typical fluorescent lighting operates by driving a current through a glass enclosure containing an inert gas and mercury. With the help of phosphors, these elements create visible light when they are excited by electricity. High intensity discharge (HID) lamps or arc lamps are similar in function but create visible light through electrically excited gases (plasma) without the use of phosphors. In both glowdischarge lamps and HID lamps, a ballast is required to initiate and maintain this electrical reaction. The ballast kickstarts the electrical-gas reaction with a large amount of energy and then regulates the current back down to a normalized operating current. High-resolution PWM control is required to accurately control this reaction as well as provide smooth dimming control. LED Lighting Technology Advantages Disadvantages ■ Best overall efficiency • ~25–50% less energy than fluorescent • More than 100 lumens/watt (efficacy) ■ Longest life: > 50,000 hours ■ No “warm up”, no radiated heat ■ Good in indoor and outdoor applications ■ Requires active or passive thermal solution to remove conducted heat Similar to a traditional LED, a High Brightness Light Emitting Diode (HBLED) produces light when forward biased, enabling the electron-hole recombination that releases light photons. LED light output is a direct function of the current flow—too little current and the light will dim, too much current and lifetimes will be shortened. A typical LED driver is a DC power supply providing converted AC or DC power to directly control the LED via constant current, Pulse Width Modulation (PWM), or other variations. The LED driver must also provide high efficiencies and power factor correction (PFC) while providing protection from AC line voltage fluctuations. LED drivers can be designed to offer dimming and RGBW color mixing capabilities by either providing a high resolution PWM (or variants such as VFM—Variable Frequency Modulation) signal or varying the constant current. Constant Current Method Modulated Current Method ■ Light output maintained by constant current level ■ Dimming control via varying current level ■ Requires high resolution current control ■ Fixed current drive chopped by PWM ■ Dimming control via varying PWM duty cycle Power Conversion and Control Current Control Light Output 100% Power Conversion and Control 50% 0% PWM Control Variable PWM Duty Cycle Current Intelligent Lighting and Control Solutions 3 Efficient Power Conversion for Ballasts and Drivers Microchip-based solutions can support any lighting technology as well as add capabilities beyond those of traditional lighting solutions. The flexibility of these solutions allows for simplified attachment to existing designs or the development of full Switch Mode Power Supply (SMPS) based intelligent solutions—and everything in between. PIC MCU Attached to Basic Power Supply Voltage Regulator AC or DC Power Source FETs & Drivers PWM Controller Current/PWM AC/DC or DC/DC Power Conversion Current Rectifier EMI Filter Transformer Thermal Monitor User Interface System Monitor ■■ ■■ ■■ ■■ Simplified design-in Customizable features Simplified modifications via firmware updates Intelligent control capabilities ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ Increased MCU integration Fully customizable Increased efficiency Power Factor Correction (PFC) Flexible topologies Simplified modifications via firmware updates Closed loop control High performance PWM and current control Intelligent control capabilities Current Feedback PIC® MCU Custom Sensor Interface Communication SMPS with PIC MCU and Microchip Analog AC/DC or DC/DC Power Conversion AC or DC Power Source User Interface PWM Controller Sensor Interface Thermal Monitor Rectifier Transformer EMI Filter Current/PWM PIC® MCU Current Custom Temp. Voltage Sensors Regulators System Monitor FETs & Drivers Current Feedback Communication Energy Harvesting and Battery Charging DC/DC Power Conversion Solar Rectifier Solar panel EMI Filter Transformer Temp. Voltage Sensors Regulators Battery Charging MPPT Sensor Interface Thermal Monitor Current Custom FETs & Drivers Current/PWM PIC® MCU System Monitor Current Feedback Charging & Delivery Communication ■■ P IC MCU controlled power conversion and battery storage ■■ Peak power tracking control, charging and power delivery ■■ Customizable Maximum Power Point Tracking (MPPT) and battery charging algorithms ■■ Support for various power supply topologies ■■ Intelligent control capabilities The SMPS topologies utilized to regulate the power within lighting applications are the same used within a power supply application. Each SMPS topology has its advantages and determining the proper topology is dependent upon the specific application requirements. SMPS Topologies Topology Vin vs. Vout Relationship Maximum Power Range Buck Vin > Vout 1000W > 90% Boost Vin < Vout 150W > 90% Buck/Boost Vout < Vin < Vout 150W > 80% SEPIC. Cuk. Zeta Vout < Vin < Vout 150W > 90% Flyback Vout < Vin < Vout 150W > 80% Resonant Vout < Vin < Vout 500W > 90% Push-Pull Vout < Vin < Vout 1000W > 90% 4 Intelligent Lighting and Control Solutions Peak Efficiency Intelligent Lighting Controls No matter which lighting technology is used, the ability to effectively control the light source is essential. Replacing a simple on/off switch, advanced lighting control provides the opportunity to incorporate additional intelligence and increase energy savings. The ability to dim any light source is the most common requirement of a light controller, but it is also a potential design obstacle. Most legacy dimmers are simple TRIAC dimmers that can vary the light output of an incandescent light source from 0–100%. These vary the brightness by “chopping” the AC line voltage and controlling the effective power to the lamp, thereby varying the light output. This method functions well with incandescent sources, as well as with some specially designed CFL ballasts, but does not function properly with most conventional drivers or ballasts. In order to effectively dim LED and fluorescent light, specialized methods such as varying PWM frequency or variable current is required. This is easily implemented with electronic dimming controllers. Functions such as dimming and timers are becomming commonplace, but intelligent control provides opportunities to enrich the user experience and increase value. Incremental energy savings can be provided by integrating elements such as energy management and harvesting (ie. solar), ambient light compensation (reducing light output based on other localized light sources) and occupancy or motion sensing. Intelligent control enables the creation of lighting networks that communicate locally as well as to remote locations to increase energy savings further and reduce maintenance cost via items such as fixed light output in lighting arrays (ie. street lamps, large rooms, etc.), monitoring light output and providing real-time operating issues. Lighting can also be integrated into other system topologies including security systems or automation and control. Aesthetically, lighting control supports custom mood lighting designs which can vary brightness, color and color temperature across large lighting arrays. Using Microchip’s intelligent light and control solutions, you can integrate a variety of enhanced capabilities into the luminaire ballast/driver, wall controller or remotes to create additional product differentiation. You are limited only by your creativity in designing differentiated products that offer customizable user interfaces and improved user experience. Legacy Control Intelligent Control Non-Intelligent Lighting Control mTouch™ Capacitive Touch (all PIC MCU families) ■ ■ ■ ■ ■ Mechanical interface Limited luminaire control No user feedback No communication No product differentiation ■ Metal over cap capability ■ Projected capacitive capability Segmented LCD (PIC16, PIC18, PIC24) ■ Up to 480 segments ■ Low power display modes ■ Contrast control Graphics (PIC24, PIC32, dsPIC DSC) ■ Integrated graphics controllers ■ Direct drive for QVGA and W-QVGA Audio (PIC18, PIC24, PIC32, dsPIC DSC) ■ Mode for iPod® and Android™ accessories Communication (all PIC MCU families) ■ Intelligent luminaire control ■ DALI, DMX512, LIN/CAN, wireless, others... ■ FREE code libraries Gesture Control (GestIC® Technoogy) ■ Recognition of 3D hand gestures Intelligent Lighting and Control Solutions 5 Communications and Networking Microchip solutions provide the versatility to support legacy lighting communications protocols as well as protocols that are just emerging in the lighting industry. Our FREE code libraries and examples for PIC MCUs help you quickly add a wide array of communication options to any lighting application. The versatility of a Microchip-based solution enables the creation of customized communications gateways and networks that allow for interoperability of multiple protocols. Wired Protocols Wireless Protocols ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ DALI DMX512A 0–10V PLC LIN CAN RS232/RS485 USB LS/FS Ethernet Wi-Fi 802.11 modules Bluetooth® ZigBee® MiWi™ wireless networking protocol 802.15.4 modules ■■ Stacks for PIC MCUs ■■ Infrared/IrDA® 0–10V Ethernet 0–10V is the simplest and most prevalent lighting communication protocol. Scaling from 0 to 10V, communication is based on varying the voltage levels. This is useful for dimming, as well as responding to external input sources, such as sensors, remotes, wall-box controls and automation. Ethernet connectivity is becoming ubiquitous. As lower-cost solutions are now more available, it is becoming easier to use Ethernet for even the simplest control and diagnostic applications. Learn more at www.microchip.com/ethernet. Digital Addressable Lighting Interface (DALI) DALI is a standard lighting control protocol for large networked lighting systems. DALI provides bi-directional communications with uniquely addressed light sources. This allows for customized lighting schemes and the ability for the light source to relay output level, color and other information back to the controller. Microchip offers FREE DALI code libraries to simplify development—available at www.microchip.com/lightingcomms. Digital Multiplex 512 bytes (DMX512) DMX512A is another successor to 0–10V which provides dimming communication. Used heavily within stage and theatrical lighting applications, DMX512A provides unidirectional lighting communication and control of various stage effects. Microchip offers FREE DMX512A code libraries to simplify development—available at www.microchip.com/lightingcomms. CAN and LIN CAN and LIN protocols were originally created for the automotive market. CAN was designed as a high-reliability and high-speed protocol (up to 1 Mbit/s) for the harsh environment of the car electrical bus. LIN was later added as a simple low-cost alternative for the control of non-critical modules on a vehicle. Due to their inherent robustness, these protocols are becoming more commonly used in non-automotive applications, specifically within industrial and commercial lighting environments. Learn more at www.microchip.com/LIN and www.microchip.com/CAN. 6 Intelligent Lighting and Control Solutions ZigBee ZigBee is an industry standard protocol for wireless networking. Specifically designed for low-cost and relatively low-bandwidth automation applications, it allows for quick deployment of flexible network topologies including star, cluster and mesh. Learn more at www.microchip.com/zigbee. MiWi Wireless Networking Protocol The MiWi wireless networking protocol is the most cost-effective wireless protocol designed for low-datarate, short-distance, low-cost networks. Fundamentally based on IEEE 802.15.4™ for wireless personal area networks (WPANs), the MiWi wireless networking protocol is Microchip’s proprietary RF protocol with FCC-certified modules—providing an easy-to-use and low-cost alternative for wireless communication. Learn more at www.microchip.com/miwi. Wi-Fi Wi-Fi is the most common of all wireless protocols. Microchip’s Wi-Fi modules have been architected to ease integration at minimum system cost. FCC-certified modules are readily available to minimize design effort and time. Learn more at www.microchip.com/wireless. Scalable Product Solutions Scalable Product Solutions 8-bit PIC® Microcontrollers (PIC18, PIC16, PIC12, PIC10) ■■ Luminaire ballast and LED drivers ■■ Wall and remote controls ■■ Intelligent control capabilities ■■ Communication and networking ■■ < 100W Optimized power conversion ■■ Lowest cost ■■ Smallest form factors 16-bit/32-bit PIC Microcontrollers (PIC32, dsPIC® DSC, PIC24) ■■ Advanced controllers and luminaires ■■ Advanced communication and networking • RF gateway and translators • Power line carrier (PLC) ■■ Advanced intelligent control capabilities ■■ > 100W Advanced power conversion ■■ Increased performance ■■ Increased lighting channels Analog Wireless ■■ High-voltage offline LED driver ICs ■■ Broad portfolio of DC/DC power conversion solutions ■■ SMBus and I2C™ temperature sensors ■■ Highly configurable PWM controllers ■■ Complementary PIC MCU compatible regulators, drivers and sensors ■■ Wi-Fi® 802.11 modules ■■ ZigBee® RF4CE ■■ MiWi™ Wireless Networking Protocol 802.15.4 modules ■■ Infrared/IrDA® MiWi ™ Focus Peripherals Integration Microchip is a leading provider of microcontrollers by continually investing and expanding upon its extensive line of PIC microcontrollers. Emphasis is constantly focused on reducing costs while developing products with a strong mix of digital and analog peripherals such as LCD drive, DACs, op amps, PWMs, ADCs, comparators, timers and communication. In addition to the standard peripherals, Microchip continuously brings additional value to PIC microcontrollers by developing unique and exclusive peripherals. These unique peripherals allow you to simplify you embedded lighting designs and develop more creative applications and products. The following PIC microcontroller’s integrated peripherals are available to assist you in designing innovative lighting products. Learn more about Microchip’s “Core Independent Peripherals” at www.microchip.com/CIP. Peripheral Summary Peripheral Capability Product Integration High Resolution PWM (HRPWM) Smooth dimming, accurate color mixing All PIC® micrcontrollers with NCO and CLC Programmable Switch Mode Controller (PSMC) Efficient, autonomous power conversion PIC16F178X Family Complementary Output Generator (COG) Automated complementary output for simplified design of high-efficency LED drive circuits PIC12F752, PIC16F785 Complementary Waveform Generator (CWG) Non-overlapping waveform generator for versatile lighting control PIC10F32X Family, PIC16F150X Family Numerically Controller Oscillator (NCO) Precision linear frequency generator for building power conversion function PIC10F32X Family, PIC16F150X Family Configurable Logic Cell (CLC) Configurable combinational and sequential logic for combining functional blocks in lighting driver and control systems PIC10F32X Family, PIC16F150X Family Hardware Limit Timer Hardware monitoring for fault detection in lighting systems PIC16F161X Family, PIC12F752, PIC12F753 Zero Crossing Detect (ZCD) Precise dimming and switching control PIC16161X Family, PIC16170X Family, PIC16171X Family Slope Compensation Performs slope compensation function for Peak Current Mode LED drivers PIC16F753 Intelligent Lighting and Control Solutions 7 Scalable Product Solutions High Resolution PWM (HRPWM) ■■ ■■ ■■ ■■ ■■ ■■ > 16-bit effective PWM resolution at high frequency (eg. ~ 16-bit @ 500 kHz) Requires Numerically Controlled Oscillator (NCO) and Configurable Logic Cell (CLC) Improved EMI performance Higher frequency operation Results in reduced sizing of inductors and capacitors Application Note: AN1476 – Combining the CLC and NCO to Implement a High Resolution PWM Input Sources HRPWM Output System Clock Max Steps PWM CLC Comparator 0 Variable PWM Duty Cycle NCO External Pin Clock Period 17-bit PWM Max # Steps = 217 = 131,072 Conventional PWM vs. HRPWM Conventional PWM HRPWM 16-bit variable PWM Clock Frequency 16 MHz 16 MHz Target Switching Frequency 500 kHz 500 kHz PWM Resolution 1+ 500 kHz = 2 µs 1+ 500 kHz = 2 µs Best PWM Pulse Adjustment 1+ 16 MHz = 62.5 ns 15.26 ps** Maximum # of Steps per Period 2 µs + 62.5 ns = 32 2 µs + 15.26 ps = 131,072 log 2 32 = 5 bits log 2 131,072 = 17 bits Target Period Width Effective Full Range PWM Resolution **Reference Application Note AN1476 Programmable Switch Mode Controller (PSMC) ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ Single 16-bit PWM with up to six steerable outputs Complementary 16-bit PWM with up to three steerable output pairs Clock sources: external, system clock, independent 64 MHz oscillator Input sources: comparators, external pins Blanking control for transient filtering 1 Independent rising/falling edge control 2 Dead band with independent rise and fall control 3 / 4 Polarity control/auto shutdown and restart Flexible PWM output modes Burst Mode: externally control activate/deactivate Up to 6 single PWM Outputs or Up to 3 Complimentary Pair Outputs 2 - Independent rising/falling output control 3 - Rising edge deadband control 4 - Falling edge deadband control Input Source 1 - Blanking control Electrical Transient 64 MHz Clock Intelligent Lighting and Control Solutions Source Input PSMC Out2 Out3 Out4 Clock Out5 Out1 External 8 Out0 1 Comparator 2 3 4 Scalable Product Solutions Complementary Waveform Generator (CWG)/Complementary Output Generator (COG) ■■ ■■ ■■ ■■ ■■ ■■ ■■ ■■ Provides non-overlapping complementary waveform Various input sources including comparators, PWM, CLC, NCO Blanking control for transient filtering 1 (COG only) Phase control for output delay 2 (COG only) Independent rise and fall 3 / 4 Dead band control Auto shutdown/restart Polarity control Complementary Outputs 2 - Phase control 3 - Rising edge deadband control 4 - Falling edge deadband control Input Source 1 - Blanking control, for transient filtering Comparator 1 PWM Source Input External Input 2 Out0 CWG/COG Out1 4 3 Electrical Transient Numerically Controlled Oscillator (NCO) Oscillator Capabilities with True Linear Frequency Control Key Features Benefits ■■ Up to 20-bit frequency resolution ■■ Multiple internal and external clock sources available ■■ 16-bit numeric frequency control • 625 kHz max output with 20 MHz oscillator • 0.03 Hz min step size with 31 kHz internal oscillator ■■ Two Output modes • Fixed 50% duty cycle 1 • Pulse Frequency Modulation (PFM) 2 ■■ True linear frequency control ■■ Increased frequency resolution ■■ Smooth fluorescent ballast dimming control 1 FDC 2 PFM Max. Brightness NCO Bulb Voltage PIC® Microcontroller Light Output Min. Brightness Frequency ADC NCO provides linear control over entire range Configurable Logic Cell (CLC) ■■ User-configurable real-time logic control • CLC configuration GUI for quick turn development ■■ Combinational logic functions • AND/OR/XOR/NOT/NAND/NOR/XNOR ■■ State Functions/Clock • D Flip-Flop, JK Flip-Flop D Latch, SR Latch ■■ Input source from external pins and peripherals ■■ Output available to external pins and peripherals ■■ Operation while in Sleep Intelligent Lighting and Control Solutions 9 Focus Microchip Products Focus PIC® Microcontrollers Flash Memory (B) Pins ADC Comparator Op Amps DAC (5b/8b/9b/10b) PWM (10b/16b) CLC NCO CWG/COG PSMC HRPWM Slope Compensation ZCD High-Current Drive (50 mA/100 mA) 8-bit PIC® Microcontrollers PIC10F320 448 6 3 × 8-bit – – – 2/0 1 ü ü – ü – – – PIC10F322 896 6 3 × 8-bit – – – 2/0 1 ü ü – ü – – – PIC12F1501 1.75K 8 4 × 10-bit 1 – 1/0/0/0 4/0 2 ü ü – ü – – – PIC16F1503 3.5K 14 8 × 10-bit 2 – 1/0/0/0 4/0 2 ü ü – ü – – – PIC16F1507 3.5K 20 12 × 10-bit – – 1/0/0/0 4/0 2 ü ü – ü – – – PIC16F1508 7K 20 12 × 10-bit 2 – 1/0/0/0 4/0 4 ü ü – ü – – – PIC16F1509 14K 20 12 × 10-bit 2 – 1/0/0/0 4/0 4 ü ü – ü – – – PIC12F1571 1.75K 8 4 × 10-bit 1 – 1/0/0/0 0/3 – – ü – – – – – Device PIC12F1572 PIC12F(HV)752 3.5K 8 4 × 10-bit 1 – 1/0/0/0 0/3 – – ü – – – – – 1.75K 8 4 × 10-bit 2 – 1/0/0/0 1/0 – – ü – – – – ü PIC16F(HV)753 3.5K 14 8 × 10-bit 2 1 0/0/1/0 1/0 – – ü – – ü – ü PIC12F1612 3.5K 8 4 × 10-bit 1 – 0/1/0/0 2/0 – – ü – – – ü – PIC16F1613 3.5K 14 8 × 10-bit 2 – 0/1/0/0 2/0 – – ü – – – ü – PIC16F1614 7K 14 8 × 10-bit 2 – 0/1/0/0 2/0 2 – ü – – – ü ü PIC16F1615 14K 14 8 × 10-bit 2 – 0/1/0/0 2/0 2 – ü – – – ü ü PIC16F1618 7K 20 12 × 10-bit 2 – 0/1/0/0 2/0 4 – ü – – – ü ü PIC16F1619 14K 20 12 × 10-bit 2 – 0/1/0/0 2/0 4 – ü – – – ü ü PIC16F1703 3.5K 14 12 × 10-bit – 2 – 2/0 – – – – – – ü – PIC16F1704 7K 14 12 × 10-bit 2 2 0/1/0/0 4/0 3 – ü – – – ü – PIC16F1705 14K 14 12 × 10-bit 2 2 0/1/0/0 4/0 3 – ü – – – ü – PIC16F1707 3.5K 20 12 × 10-bit – 2 – 2/0 – – – – – – ü – PIC16F1708 7K 20 12 × 10-bit 2 2 0/1/0/0 4/0 3 – ü – – – ü – PIC16F1709 14K 20 12 × 10-bit 2 2 0/1/0/0 4/0 3 – ü – – – ü – PIC16F1713 7K 28 17 × 10-bit 2 2 1/1/0/0 4/0 4 ü ü – ü – ü – PIC16F1716 14K 28 17 × 10-bit 2 2 1/1/0/0 4/0 4 ü ü – ü – ü – PIC16F1718 28K 28 17 × 10-bit 2 2 1/1/0/0 4/0 4 ü ü – – – ü – PIC16F1717 14K 40 28 × 10-bit 2 2 1/1/0/0 4/0 4 ü ü – ü – ü – PIC16F1719 28K 40 28 × 10-bit 2 2 1/1/0/0 4/0 4 ü ü – ü – ü – PIC16F1782 3.5 28 11 × 12-bit 3 2 0/1/0/0 0/2 – – – 2 – – – – PIC16F1783 7K 28 11 × 12-bit 3 2 0/1/0/0 0/2 – – – 2 – – – – PIC16F1784 7K 40 14 × 12-bit 4 3 0/1/0/0 0/3 – – – 3 – – – – PIC16F1786 14K 28 11 × 12-bit 4 2 0/1/0/0 0/3 – – – 2 – – – – PIC16F1787 14K 40 14 × 12-bit 4 3 0/1/0/0 0/3 – – – 3 – – – – PIC16F1788 28K 28 11 × 12-bit 4 2 3/1/0/0 0/3 – – – 3 – – – – PIC16F1789 28K 40 14 × 12-bit 4 3 3/1/0/0 0/3 – – – 3 – – – – 10 Intelligent Lighting and Control Solutions Focus Microchip Products Flash Memory (B) Pins ADC Comparator Op Amps DAC (5b/8b/9b/10b) PWM (10b/16b) CLC NCO CWG/COG PSMC HRPWM Slope Compensation ZCD High-Current Drive (50 mA/100 mA) 16-bit PIC® Microcontrollers dsPIC33FJ64GS610 64K 100 24 × 10-bit 4 – 0/0/0/1 9 × 2 – – – – – – – – dsPIC33FJ64GS608 64K 80 16 × 10-bit 4 – 0/0/0/1 8 × 2 – – – – – – – – dsPIC33FJ64GS606 64K 64 16 × 10-bit 4 – 0/0/0/1 6 × 2 – – – – – – – – dsPIC33FJ64GS406 64K 64 16 × 10-bit 0 – – 6 × 2 – – – – – – – – dsPIC33FJ32GS610 32K 100 24 × 10-bit 4 – 0/0/0/1 9 × 2 – – – – – – – – dsPIC33FJ32GS608 32K 80 16 × 10-bit 4 – 0/0/0/1 8 × 2 – – – – – – – – dsPIC33FJ32GS606 32K 64 16 × 10-bit 4 – 0/0/0/1 6 × 2 – – – – – – – – dsPIC33FJ32GS406 32K 64 16 × 10-bit – – – 6 × 2 – – – – – – – – dsPIC33FJ16GS504 16K 44 12 × 10-bit 4 – 0/0/0/1 4 × 2 – – – – – – – – dsPIC33FJ16GS502 16K 28 8 × 10-bit 4 – 0/0/0/1 4 × 2 – – – – – – – – dsPIC33FJ16GS404 16K 44 8 × 10-bit – – – 3 × 2 – – – – – – – – dsPIC33FJ16GS402 16K 28 8 × 10-bit – – – 3 × 2 – – – – – – – – dsPIC33FJ06GS202 6K 28 6 × 10-bit 2 – 0/0/0/1 2 × 2 – – – – – – – – dsPIC33FJ06GS102 6K 28 6 × 10-bit – – – 2 × 2 – – – – – – – – dsPIC33FJ06GS101 6K 18 6 × 10-bit – – – 2 × 2 – – – – – – – – dsPIC33FJ09GS302 9K 28/36 8 × 10-bit 2 – 0/0/0/1 3 × 2 – – – – – – – – dsPIC33FJ06GS202A 6K 28/36 6 × 10-bit 2 – 0/0/0/1 2 × 2 – – – – – – – – dsPIC33FJ06GS102A 6K 28/36 6 × 10-bit – – – 2 × 2 – – – – – – – – dsPIC33FJ06GS101A 6K 18/20 6 × 10-bit – – – 2 × 2 – – – – – – – – dsPIC33FJ06GS001 6K 18/20 6 × 10-bit 2 – – 2 × 2 – – – – – – – – Device Focus Analog Products Digitally-Enhanced PWM Controllers with Integrated MCU Device Description MCP19110/1 Synchronous buck controller, integrated MCU, LDO and synchronous MOSFET driver, user configurable/programmable MCP19114/5 Low-side drive PWM controller offers multiple power conversion topology support, integrated MCU, LDO and synchronous lowside MOSFET driver, user configurable/programmable Toplogy Support Vsupply (V) Fsw (Max) Program Memory Size (k words) RAM (bytes) Operating Temperature (°C) Buck 4.5–32 1600 4 256 −40 to +125 Boost, Flyback, SEPIC, ´ k Cu 4.5–42 2000 4 256 −40 to +125 Analog PWM Controller with Integrated MOSFET Driver Device Description Toplogy Support Vsupply (V) Iq (mA) Fsw (kHz) (Max) Operating Temperature (°C) MCP1630 Current-mode PWM controller with integrated low-side MOSFET driver Boost, SEPIC, Flyback 2.7–5.5 2.8 1000 −40 to +125 MCP1631/ MCP1631HV Current-mode PWM controller with integrated low-side MOSFET driver, integrated 16V LDC Boost, SEPIC, Flyback 3-16 3.7 2000 −40 to +125 MCP1632 Current- or voltage-mode PWM controller with integrated low-side MOSFET driver Boost, Buck-Boost, Flyback, ´ k SEPIC,Cu 3.0–5.5 5 600 −40 to +125 Sequential Linear LED Driver Vin (VAC) Vout (VDC) Ouput Current (peak) Dimming Parallelable Packages Features CL8800 90–275 70–350 115 mA External dimmer ü 33-pin QFN 6-Stage CL8801 90–275 70–350 200 mA External dimmer ü 33-pin QFN 4-Stage Device Voltage Regulators Device MCP1623/4 MCP16251/2 MCP1640 MCP1643 MCP16301/HV MCP16311/2 Toplogy Support Boost Boost Boost Boost Buck Buck Vsupply (V) 0.35–5.5 0.82–5.5 0.65–5.5 0.5–5.0 (HV: 36V) 4.0–30 4.4–30 Output Voltage (V) 2.0–5.5 1.8–5.5 2.0–5.5 0.6–5.0 2.0–15 2.0–24 Output Current (mA) 175 225 350 550 600 1000 Iq (Typical) (μA) 19 14 19 30 2000 85 Fsw (kHz) 500 500 500 1000 500 500 Operating Temperature (°C) −40 to +85 −40 to +125 −40 to +85 −40 to +85 −40 to +125 −40 to +125 Intelligent Lighting and Control Solutions 11 Focus Microchip Products Focus Analog Products Power MOSFET Driver Device Description Low-side MOSFET Drivers, 0.5A Peak Output Current Low-Side MOSFET Drivers, 1.5A Peak Output Current Low-Side MOSFET Drivers, 2.0A Peak Output Current Low-Side MOSFET Drivers, 3.0A Peak Output Current Low-Side MOSFET Drivers, 4.0A Peak Output Current Synchronous (High-Side/LowSide) MOSFET Driver Synchronous (High-Side/LowSide) MOSFET Driver MCP1401/ MCP1402 MCP1415/ MCP1416 MCP14E6/7/8 MCP14E9/10/11 MCP14E3/4/5 MCP14628 MCP14700 Number of Channels Vsupply (V) Peak Drive Strength (A) Output Resistance (Rh/Rl, Ω-max) Input/Output Delay (ns) Operating Temperature (°C) Single 18 0.5 12/10 35/35 −40 to +125 Single 18 1.5 6/4 41/48 −40 to +125 Dual 18 2.0 5/5 45/45 −40 to +125 Dual 18 3.0 4/4 45/45 −40 to +125 Dual 18 −40 to +125 Dual (high/low) Dual (high/low) 5 5 4.0 2.5/2.5 56/50 2.0, 3.5 (low side sink only) 2.0, 3.5 (low side sink only) 1.0/1.0 (high side) 1.0/0.5 (low side) 1.0/1.0 (high side) 1.0/0.5 (low side) 15/18 (high side) 16/22 (low side) 27/27 (high side) 17/17 (low side) −40 to +85 −40 to +125 High-voltage, Low-side Buck LED Driver ICs Device HV9910B HV9910C HV9961 HV9861A HV9803 HV9803B Internal Reference 250 mV ± 10% 250 mV ± 10% 275 mV ± 3% 270 mV ± 3% – – External Reference Vld ± 12 mV Vld ± 12 mV 0.182–0.188 Vld ± 10 mV 0.175–0.182 Vld ± 10 mV 0.49 Vld ± 16 mV 0.495 Vld ± 16 mV Control Algorithm Peak-current mode controller Peak-current mode controller Average-current mode controller Average-current mode controller Average-current mode controller Average-current mode controller Mode Fixed freq./Fixed Toff Fixed freq./Fixed Toff Fixed Toff Fixed Toff Fixed Toff Fixed Toff Input Voltage 8–450V 15–450V 8–450V 15–450V 8–16V 8–16V Packages 8-pin SO, 16-pin SO 8-pin SO, 16-pin SO 8-pin SO, 16-pin SO 8-pin SO, 16-pin SO 8-pin SO 8-pin SO Boost/SEPIC LED Drivers Number of Channels 1 1 1 3 3 3 Device HV9911 HV9912 HV9964 HV9982 HV9985 HV9986 Input Voltage Main Features 9–250V 9–90V 8–40V 10–40V 10–40V 10–40V Packages Latched mode output short circuit and open circuit protection Hiccup mode output short circuit and open circuit protection High PWM dimming ratio (> 10,1000:1), Latched mode open-loop protection Three channel LED driver, Hiccup mode output short circuit and open circuit protection Three channel LED driver optimized for driving logic level FETs Independent open circuit and short circuit protection for each channel 16-pin SO 16-pin SO 16-pin SO 40-pin QFN 40-pin QFN 40-pin QFN DC/DC LED Driver ICs Input Voltage Topology Support HV9918 4.5–40V Buck Control Algorithm Hysteretic HV9919B 4.5–40V Buck Hysteretic HV9930 8–200V Boost-Buck (Ćuk) 8–60V Buck 5.3–40V Boost/SEPIC Hysteretic Average mode Closed loop/ Fixed Freq. Device HV9967B AT9917 AT9919B 4.5–40V Buck AT9932 5.3–40V Boost-Buck (Ćuk) AT9933 8–75V Boost-Buck (Ćuk) Hysteretic Closed loop/ Fixed Freq. Hysteretic Main Features Integrated 40V, 1Ω switching FET, On-board Analog-to-PWM conversion 0.5A source and 1A sink gate driver for logic level FETs, On-board Analog-to-PWM conversion Programmable input current limit, Excellent input voltage transient rejection Integrated 60V, 0.8Ω switching FET, Output short circuit and over temperature protection Programmable thermal fold back profile, low shutdown quiescent current 0.5A source and 1A sink gate driver for logic level FETs, On-board Analog-to-PWM conversion Excellent input voltage transient rejection, Programmable thermal fold back profile Programmable input current limit, Excellent input voltage transient rejection Automotive Qualified – 8-pin DFN – 8-pin DFN – 8-pin SO 8-pin MSOP, 8-pin DFN – Packages ü 24-pin TSSOP ü 8-pin DFN ü 24-pin TSSOP ü 8-pin SO Thermal Management: Temperature Sensors Device MCP9800/1/2/3 Description SMBus/I2C™ temperature sensor 2 # Temps Monitored Typical/Max Accuracy (°C) Operating Temperature (°C) Vcc Range (V) Typical Supply Current (µA) 1 0.5/1.0 −40 to +125 2.8–5.5 200 TCN75A SMBus/I C temperature sensor 1 0.5/3.0 −40 to +125 2.8–5.5 200 MCP9700/01 Voltage output temperature sensor 1 1.0/4.0 −40 to +125 2.3–5.5 200 2 EMC1412/3/4 SMBus/I C multi temperature sensor 2/3/4 0.25/1/0 −40 to +125 3.0–3.6 430 MCP9808 SMBus/I2C temperature sensor 1 0.25/5.0 −40 to +125 2.7–5.5 200 MCP9501/2/3/4 Factory programmed termperature switch 1 1/6 −40 to +125 2.7–5.5 25 MCP9509/10 Resistor programmable temperature switch 1 0.5/2 −40 to +125 2.7–5.5 30 12 Intelligent Lighting and Control Solutions Focus Microchip Products Focus Communication Products Wireless products Pins Frequency Range (GHz) Sensitivity (dBm) Power Output (dBm) MAC RN171 49 2.412–2.484 −83 0 to +12 Yes MRF24WG0MA 36 2.412–2.484 −95 18 Yes MRF24WG0MB 36 2.412–2.484 −95 18 Yes RN131 44 2.412–2.484 −85 18 Yes Product Protocols Encryption DHCP, DNS, ARP, ICMP, FTP client, HTTP client, TCP, UDP Wi-Fi® Connection Manager, Announce, DNS, DDNS, DHCP, FTP, HTTP, NBNS, SNMP, SNTP, SSL, TCP, UDP, ZeroConf(1) Wi-Fi Connection Manager, Announce, DNS, DDNS, DHCP, FTP, HTTP, NBNS, SNMP, SNTP, SSL, TCP, UDP, ZeroConf(1) DHCP, DNS, ARP, ICMP, FTP client, HTTP client, TCP, UDP WEP, WPA, WPA2, EAP WPA2-PSK, WPAPSK, WEP, WPA2ENTERPRISE WPA2-PSK, WPA-PSK, WEP, WPA2-ENTERPRISE WEP, WPA, WPA2, EAP IEEE 802.11 Modules IEEE 802.15.4 Transceivers/Modules MRF24J40 40 2.405–2.48 −95 0 Yes ZigBee®, MiWi™ wireless networking protocol AES128 MRF24J40MA 12 2.405–2.48 −95 0 Yes ZigBee, MiWi wireless networking protocol AES128 MRF24J40MD 12 2.405–2.48 −104 20 Yes ZigBee, MiWi wireless networking protocol AES128 MRF24J40MC 12 2.405–2.48 −108 20 Yes ZigBee, MiWi wireless networking protocol AES128 1. Supported in the provided stack. Bluetooth® Product RN42 RN41 Pins 35 35 Frequency Range (GHz) 2.4 to 2.48 2.4 to 2.48 Sensitivity (dBm) −80 −80 Power Output (dBm) 4 15 MAC Yes Yes Profiles SPP, DUN, HID, iAP, HCI, RFCOMM, L2CAP, SDP SPP, DUN, HID, iAP, HCI, RFCOMM, L2CAP, SDP Sub-GHz Transceivers/Modules Product Pins 16 32 12 12 MRF49XA MRF89XA MRF89XAM8A MRF89XAM9A Frequency Range (MHz) 433/868/915 868/915/950 868 915 Sensitivity (dBm) −110 −113 −113 −113 Power Output (dBm) 7 12.5 12.5 12.5 RSSI Clock Interface Yes Yes Yes Yes 10 MHz 12.8 MHz 12.8 MHz 12.8 MHz 4-wire SPI 4-wire SPI 4-wire SPI 4-wire SPI Ethernet Products Pins MCU + Ethernet PIC18F97J90 64–100 PIC32MX795F512 64–100 28 – ü (10Base-T) SPI – – 44–64 – ü (10/100Base-T) SPI/Parallel ü ü Device Family ENC28J60 ENC624J600 Pre-programmed MAC Integrated MAC + PHY Interface Hardware Security ü ü (10Base-T) – – – ü ü (10/100Base-T) – – ü Additional Features IEEE 802.3™ compliant, Auto-negotiation, Configurable buffer USB Products Device Family Pins Flash (KB) Voltage (V) Crystal-Free PIC16(L)F1459 14–20 7–14 1.8–5.5 ü CWG, 10-bit ADC, DAC, I2C™, SPI, UART PIC18(L)F45K50 28–44 16–32 1.8–5.5 ü 10-bit ADC, Comparators, ECCP, UART, SPI, I2C 64–100 32–128 2–3.6 ü Vbat, 12-bit ADC, LCD, ECCP, UART, I2C, SPI, Comparators 28–44 16–32 2.3–3.6 – PWM, 10-bit ADC, SPI, UART, I2C, I2S™ PIC18F97J94 PIC32MX220F032 Additional Features CAN and LIN Products Device Family PIC18F4685 PIC18F66K80 PIC16F1829LIN PIC32MX564F128 Pins Flash (KB) CAN Tx Buffers CAN Rx Buffers LIN Tx Rx Voltage (V) 28–44 28–64 14 64–100 16–96 32–64 8K 16–128 3 3 – 32 2 2 – 32 – – Integrated – 2–5.5 1.8–5.5 2.3–5.5 2.3–3.6 Additional Features LIN LIN LIN LIN USART USART USART USART Intelligent Lighting and Control Solutions 13 Reference Designs and Proofs-of-Concepts Go to www.microchip.com/lighting and select ‘Tools → Development & Reference Designs’ to download the latest design schematics, firmware, application notes and collateral. Contact your local sales representative to evaluate working demonstration platforms. PIC16F1947 mTouch Technology Intelligent Lighting Controller Highlights ■ PIC16F1947-based design with AC/DC power conversion ■ Panel technology and backlighting provided by Lumvatech ■ Wall controller • Backlit buttons wake up with mTouch technology ■ mTouch technology capacitive sensing through light buttons • Visually interactive buttons and slider • Varying light intensity to indicate pressure ■ Variable luminaire control • DALI • MiWi wireless networking protocol • Phase-cut (TRIAC) ■ Customizable • Buttons, graphics, operating modes • Communication (DALI, DMX512A, RF, etc.) 14 Intelligent Lighting and Control Solutions Reference Designs and Proofs-of-Concepts PIC12F1572 RGB Color Mixing Demonstration Highlights ■ High-resolution color mix with Cree RGB LED PIC12F1572 Controlled Topology • Three standalone 16-bit PWMs with independent time base • 4 channel 10-bit ADC with voltage reference • 5-bit DAC • Comparator • Complementary Waveform Generator (CWG) • EUSART ■ PIC16F1455 integrated USB and Active Clock Tuning MCP1640 bost DC/DC regulator Two Modes of Operation ■ Mode 1: PIC12F1572 with MCP1640 • mTouch technology color control slider • Auto rotation of custom color mix • Battery system power ■ Mode 2: PIC12F1572 with PIC16F1455 • USB connectivity for chromaticity selector GUI • USB system power Block Diagram PIC12F1572 Microcontroller 10-bit ADC PIC16F1455 Microcontroller EUSART Interface EUSART Interface USB Interface PC GUI 5-bit DAC mTouch™ Technology Slider Control PC Chromaticity Selector GUI (Mode 2) Color Mixing Control • Auto Rotation • Slider Input • PC Input USB to USART Communication Conversion 5V DC USB Power Supply (Mode 2) 3V DC Stable Output 3 × 16-bit PWM MCP1640 Boost Regulator 0.35V to 5.5V DC Input CREE RGB LED mTouch Technology Capacitive Color Control Slider (Mode 1) Coin Cell or AAAA Battery Optional Battery Source Battery Supply Boost Power Regulator (Mode 1) Intelligent Lighting and Control Solutions 15 Reference Designs and Proofs-of-Concepts PIC12F752 High Power LED Flashlight Highlights ■ DC/DC Buck Power Conversion • > 90% efficient buck power supply ■ PIC12F752-based design ■ Over temperature monitoring ■ Upwards of 1000 lumen output at 10W ■ Anodized aluminum enclosure ■ Magnetic rotational mode selector ■ Multiple operating modes • Low power (60 lumens @ 0.6W) • Medium power (200 lumens @ 2W) • High power (1000 lumens @ 10W) • SOS (customized lighting sequence) ■ Long life operation • Low power = 31 hours @ 0.6W • Medium power = 8.5 hours @ 2W • High power = 1.5 hours @ 10W 1000 Lumen XM-L LED Provided by CREE® LED Ultimate Lithium Batteries Provided by Energizer ® Mechanics, Optics, and Thermal Solution Provided by AirSpeed PIC12F752, MCP1703, MCP14628, and Reference Design Provided by Microchip Block Diagram LED drive and closed loop control determined by current sense and temperature Synchronous Buck Regulator controlled by PIC12F752 microcontroller for maximum efficiency **(4) AA Ultimate lithium batteries in series supplying 7.2V Interrupt on Change *Magnetic selector ring LED current sense and Resistive feedback to Temperature sustain constant Controls operational modes Sensor light output based on position of selector ring Real-time temperature monitoring of LED for fail-safe operation ADC Input ADC Input 5b Digital Analog Converter (DAC) Allows the use of smaller current sense resistor High resolution eliminates external op amp Less power consumption and better efficiency Complementary Output Generator (COG) 1 of 2 available outputs utilized Frequency determined by PWM Provides dead-band control for the synchronous switches Provides blanking control to prevent transient behavior PIC12F752 PWM V+ Comparator VHigh-Performance Comparators 40 ns response time 16 1000 lumen output at 10W Comparator Input *Multiple Hall effect sensors to determine position of magnetic ring 5 bit DAC CREE XM-L LED MCP14628 MOSFET Driver Intelligent Lighting and Control Solutions Complimentary Output Generator (COG) PWM Output to MOSFET Driver Lower Average Current LED Current 5V PWM Output PIC12F752 Microcontroller MCP1703 LDO 7.2V Input From Current Sense Resistor t Reference Designs and Proofs-of-Concepts PIC12F752 AC/DC LED Driver Highlights ■ AC/DC flyback power supply • ~85% Efficiency • Active 0.95 Power Factor Correction (PFC) • 90–240 VaC input ◦ Single hardware platform ◦ Firmware based configuration • 20 VdC/375 mA output ■ PIC12F752-controlled topology • Core independent peripheral integration ◦ 5-bit DAC ◦ Complementary Output Generator (COG) ◦ High performance comparators ◦ Hardware Limit Timer (HLT) ■ MCP1416 FET Driver ■ TRIAC dimmable Block Diagram 90–240 VAC Input PIC12F752 Microcontroller HLT @ 50 kHz RESET Complimentary Output Generator (COG) MCP1416 MOSFET Driver ~20 VDC/375 mA Output + – 5-bit DAC 5V Bootstrap Voltage Regulator + – Firmware 10-bit ADC Primary Stage Secondary Stage Intelligent Lighting and Control Solutions 17 Reference Designs and Proofs-of-Concepts PIC16F1788 Wireless DC/DC LED Driver Highlights ■ DC/DC SEPIC power supply • ~90% Efficiency • 9–24 VdC input • 24 VdC output ■ PIC16F1788-controlled topology • Core independent peripheral integration ◦ Programmable Switch Mode Controller (PSMC) ◦ High-performance 16-bit PWM ◦ 10/12-bit ADC ◦ High-performance comparators ◦ 8-bit DAC ◦ Op amps ■ Current mode control ■ Software PI control ■ Variable frequency: 400–700 kHz ■ MCP1416 FET driver ■ MCP16301 voltage regulator ■ Wireless communications • MRF24J40MA MiWi wireless networking protocol module ■ Dimming support • 0–10V control • MiWi wireless networking protocol radio control Example Wi-Fi to MiWi Wireless Networking Protocol Topology MiWi Wireless Networking Protocol W-Fi PIC16F1788 Wireless LED Driver W-Fi MiWi Wireless Networking Protocol W-Fi 3.3 VDC MRF24J40MA MiWi™ Wireless Networking Protocol Module 0–10V Input MiWi™ Wireless Networking Protocol to Wi-Fi® Gateway Demo Kit (DM182018) PIC16F1788 Wireless LED Driver Block Diagram 9–24 VDC Input MiWi Wireless Networking Protocol SEPIC LED Drive MCP16301 Regulator ≈ 500 mA Regulated Output PIC16F1788 Microcontroller Programmable Switch Mode Controller (PSMC) SPI Interface 10/12-bit ADC + Op Amp Comp. Lumen Set Point Control MCP1416 MOSFET Driver Peak current mode control Voltage divider to prevent over-voltage of load – 8-bit DAC Firmware PID Control 10/12-bit ADC + Op Amp – 18 Intelligent Lighting and Control Solutions Average current sense and feedback to sustain constant current Reference Designs and Proofs-of-Concepts PIC16F1509 Solar Powered LED Security Lamp Highlights ■ DC/DC SEPIC power supply • ~ 85% Efficiency @ 500 mA charging current • 9–25 VdC input (compatible with 30–36 cell panels) • 6.8–7.2 VdC @ 500 mA DC output for battery charging • 9–24 VdC @ 350 mA DC output for LED driving ■ PIC16F1509-controlled topology ■ Core independent peripheral integration • Numerically Controlled Oscillator (NCO) • 10-bit Analog-to-Digital Converter (ADC) ■ Maximum power point tracking (MPPT) solar charging to battery ■ Night sensing via solar panel ■ MCP6V02 op amp for current shunt amplification and motion sensing via Passive Infrared (PIR) sensor ■ MCP1790 High Voltage Regulator ■ Boost LED drive Block Diagram Boost LED Drive Lead Acid Cell MCP1790 Regulator PIC16F1509 Microcontroller 10-bit ADC Numerically Controlled Oscillator (NCO) 10-bit ADC 10-bit ADC Firmware PIR Raw Input + Solar Panel MCP6V02 Op Amp – – Op Amp + Solar DC/DC Buck/Boost Power Supply, MPPT Battery Charging and Regulation MCP6V02 Passive Infrared (PIR) Motion Sensing Conditioning Intelligent Lighting and Control Solutions 19 Reference Designs and Proofs-of-Concepts PIC16F1508 DALI Dimmable Fluorescent Ballast Highlights ■ AC/DC resonant power supply • Active Power Factor Correction (PFC) • ~90% Efficiency • 50 kHz Switching frequency • 120–240 VaC input ◦ Single hardware platform ◦ Firmware based configuration ■ PIC16F1508-controlled topology • Core independent peripheral integration ◦ 5-bit DAC, CLC, PWM, NCO and comparators ■ DALI communications ■ Smooth dimming control • Linear frequency control using NCO ■ MCP1416 FET Driver Block Diagram 90–240 VAC Input PIC16F1508 Microcontroller 5-bit DAC PFC Boost Regulator 10-bit ADC PWM/ Timer S R + Configurable Logic Cell (CLC) MCP1416 MOSFET Driver Comp. Peak Current Mode Control – LCC Resonant Fluorescent Drive Firmware 20 Numerically Controlled Oscillator (NCO) Intelligent Lighting and Control Solutions High Voltage MOSFET Driver Reference Designs and Proofs-of-Concepts Digital HID Ballast Reference Design Highlights ■ dsPIC33FJ06GS202-based design ■ Xenon HID lamp ■ Full digital control HID ballast • Ignites HID bulb then transitions to steady-state operation • Less than 150 seconds to steady-state light output ■ Flyback DC/DC boost converter • 9–16 VdC input • Greater than 85% efficiency ■ Planar magnetic used to achieve small size • 9 mm × 60 mm × 80 mm • Commonly referred to as a “slim” ballast form factor ■ Under voltage, over voltage, and over current protection Block Diagram Battery Boost T1 Q1 Q3 Q2 Q4 FB + 12V Igniter Driver Op Amp VFD VIN AN2 Power Converter PWM1H 3.3V Driver IFD AN0/CMP1 AN1/CMP2 dsPIC33FJ06GS202 I/O High Resolution PWM Proof of Concept Highlights ■ High Resolution PWM (HRPWM) ■ >16-bit effective PWM resolution at high frequency (eg. ~16-bit @ 500 kHz) • Required peripherals: Numerically Controlled Oscillator (NCO) and Configurable Logic Cell (CLC) • Improved EMI performance ■ RGBW color mixing control with four PIC microcontrollers with NCO/CLC • Single PIC16F1509 for RED and high-resolution color processing • Single PIC10F322 per GREEN, BLUE, WHITE channel • Variable LED frequency based on brightness: 500 Hz to 64 kHz ◦ 16 to 21-bits effective PWM resolution ■ USB and DMX512A capable via PIC16F1455 Note: See Application Note AN1476 Intelligent Lighting and Control Solutions 21 Development Tools and Demonstration Platforms Go to www.microchip.com/lighting and select ‘Tools → Development & Reference Designs’ to purchase as well as download the latest design schematics, firmware, application notes, and collateral. Lighting Communications Development Platform ■ ■ ■ ■ Universal lighting protocol development FREE ‘C’ library stack (DALI, DMX512A) Dimming and color mixing control Customizable capabilities Main Communication Board Highlights (DM160214) ■ Populated with PIC16F1947 controlling: • Communications • User interface: LCD, buttons, slider • LED constant current drive ■ Populated with Cree XLamp MC-E Color LED ■ Populated with the LEDnLIGHT optic and holder Prototyping Communication Board Highlights (AC160214) ■ Populated with PIC16F1947 for user interface and communications ■ Breadboarding space for customized lighting development Universal Communications Adapter Interface ■ DALI adapter (DM160214-1) ■ DMX512A adapter (DM160214-2) MCP16301 LED Driver Demonstration Board (MCP16301 – ARD00410) ■ MCP16301 Cuk-based LED driver demonstration ■ 300 mA constant current source ■ Input operating voltage from 6–18 VdC MCP1630 Boost Mode LED Driver Demonstration Board (MCP1630DM-LED2) ■ ■ ■ ■ MCP1630 Boost LED driver demo 350 or 700 mA constant current source Input operating voltage range of 9–16 VdC Maximum power output of 30W MCP1631HV Digitally Controlled Programmable Current Source Reference Design (MCP1631RD-DCPC1) ■ MCP1631 SEPIC LED driver demonstration ■ Input voltage range of 3.5–16 VdC ■ Maximum power output of 8.5W MCP1650 Multiple White LED Demonstration Board (MCP1650DM-LED2) ■ MCP1650 Boost LED driver demo ■ Nine LED string in series ■ PIC10F202 controlled • Enable control of MCP1650 • Push-button input for LED intensity adjustment 22 Intelligent Lighting and Control Solutions Available for purchase separately or as a kit DALI Starter Kit (DV160214-1) DMX512A Starter Kit (DV160214-2) ■ Two DALI or (two) DMX512A adapters ■ Two Main communication boards ■ Prototyping communication board ■ 9V international power supply ■ RJ45 patch cable For more information, visit www.microchip.com/lightingcomms. MCP1252 Charge Pump Backlight Demonstration Board (MCP1252DM-BKLT) ■ LED backlighting demonstration ■ MCP1252 evaluation platform ■ Light intensity controlled via ballast resistors ■ PIC10F206 controlled • Enable control of MCP1252 • Push-button input for LED intensity adjustment Digital LED Lighting Development Kit (DM330014) ■ 100% digitally controlled LED driver ■ Fully controlled with a single dsPIC33FJ16GS504 DSC ■ RGB LED driver with DMX512 support for brightness control ■ Dimming and color hue control ■ Flexible input voltage support, including buck and boost topologies ■ Fully dimmable, full digital control, Fault protection ■ Advanced features implemented in software MCP1650 3W White LED Demonstration Board (MCP1650DM-LED1) ■ MCP1650 Boost LED driver demonstration ■ Nine LED string in series ■ PIC10F202 controlled • Enable control of MCP1650 • Push-button input for LED intensity adjustment Microchip’s Partner Network Leveraging the expertise and products from Microchip’s lighting partners further ensures quick development of quality advanced lighting products. Interested in becoming a collaborative or design partner? Let us know at [email protected]. Design Partners Microchip recognizes the challenges involved in developing advanced lighting solutions and has created a Design Partner network to ease your development efforts. Microchip's Intelligent Lighting and Control Design Partner Specialists have proven lighting design expertise and can reduce your time to market. LIGHTING Go to www.microchip.com/lighting and select ‘Resources> Support’ for a full list of companies offering design services and support for your intelligent lighting development needs. Collaborative Partners To ensure the development of the most innovative lighting solutions, Microchip works with industry leaders to collaborate on various reference designs, demonstrations, and development tools. Creating the most effective lighting solution requires products—from integrated circuits, to light sources, optics, thermals and mechanics—expertise and services from a multitude of sources. Collaborative Partners Cree, Inc leads the industry through performance and application optimized lighting-class LEDs that simplify design and lower system costs to obsolete energy-wasting traditional lighting. Cree’s relentless innovation drives the LED lighting revolution with products designed to accelerate LED adoption and push the boundaries of what’s possible with LED lighting. Cree’s LED product families include XLamp® and High Brightness LEDs. LEDnLIGHT optics are made by Gaggione SAS the—Montréal La Cluse, France, plastic optics manufacturer—who produces the very narrow beam collimator providing excellent color mixing properties to address stage lighting, entertainment lighting and architectural lighting applications, to name a few. Gaggione is an ISO 9001 and ISO TS 16949 certified company and a leader in producing solutions using polymers for customers around the world. The company provides comprehensive design, development and manufacturing capabilities for the production of standardized and customized polymer optics at their state-of-the-art production technologies and facilities in France, Switzerland and Canada. Lumvatech is a cutting-edge manufacturer of LED light panels and complete backlighting solutions. Lumvatech specializes in thin and flexible applications. From light panels to complete interactive capacitive touch solutions, Lumvatech manufactures a wide variety of standard or custom products and solutions. An experienced provider of innovative product solutions, Airspeed specializes in the design and manufacturing of complete mechanical packages. The company’s many years of experience in plastics, metal fabrication, die cast, cable assemblies and global logistics management ensures that customers can offer the most competitive product to the market. Energizer Holdings, Inc., headquartered in St. Louis, MO, is one of the world’s largest manufacturers of primary batteries, portable flashlights and lanterns. Energizer® Ultimate Lithium batteries deliver long-lasting power to keep up with today’s high-tech devices like digital cameras, LED flashlights and handheld GPS devices. Intelligent Lighting and Control Solutions 23 Support Training Microchip is committed to supporting its customers in developing products faster and more efficiently. We maintain a worldwide network of field applications engineers and technical support ready to provide product and system assistance. In addition, the following service areas are available at www.microchip.com: ■ Support link provides a way to get questions answered fast: http://support.microchip.com ■ Sample link offers evaluation samples of any Microchip device: http://sample.microchip.com ■ Forum link provides access to knowledge base and peer help: http://forum.microchip.com ■ Buy link provides locations of Microchip Sales Channel Partners: www.microchip.com/sales If additional training interests you, then Microchip can help. We continue to expand our technical training options, offering a growing list of courses and in-depth curriculum locally, as well as significant online resources – whenever you want to use them. ■ Technical Training Centers and Other Resources: www.microchip.com/training ■ MASTERs Conferences: www.microchip.com/masters ■ Worldwide Seminars: www.microchip.com/seminars ■ eLearning: www.microchip.com/webseminars Sales Office Listing AMERICAS Atlanta Tel: 678-957-9614 Austin Tel: 512-257-3370 Boston Tel: 774-760-0087 Chandler Tel: 480-792-7200 Chicago Tel: 630-285-0071 Cleveland Tel: 216-447-0464 Dallas Tel: 972-818-7423 Detroit Tel: 248-538-2250 Houston Tel: 281-894-5983 Indianapolis Tel: 317-773-8323 Los Angeles Tel: 949-462-9523 New York Tel: 631-435-6000 San Jose Tel: 408-735-9110 Toronto Tel: 905-673-0699 EUROPE Austria - Wels Tel: 43-7242-2244-39 Denmark - Copenhagen Tel: 45-4450-2828 France - Paris Tel: 33-1-69-53-63-20 Germany - Dusseldorf Tel: 49-2129-3766400 Germany - Munich Tel: 49-89-627-144-0 Germany - Pforzheim Tel: 49-7231-424750 Italy - Milan Tel: 39-0331-742611 Italy - Venice Tel: 39-049-7625286 Netherlands - Drunen Tel: 31-416-690399 Poland - Warsaw Tel: 48-22-3325737 Spain - Madrid Tel: 34-91-708-08-90 Sweden - Stockholm Tel: 46-8-5090-4654 UK - Wokingham Tel: 44-118-921-5800 ASIA/PACIFIC Australia - Sydney Tel: 61-2-9868-6733 China - Beijing Tel: 86-10-8569-7000 China - Chengdu Tel: 86-28-8665-5511 China - Chongqing Tel: 86-23-8980-9588 China - Hangzhou Tel: 86-571-87928115 China - Hong Kong SAR Tel: 852-2943-5100 China - Nanjing Tel: 86-25-8473-2460 China - Qingdao Tel: 86-532-8502-7355 China - Shanghai Tel: 86-21-5407-5533 China - Shenyang Tel: 86-24-2334-2829 China - Shenzhen Tel: 86-755-8864-2200 China - Wuhan Tel: 86-27-5980-5300 China - Xiamen Tel: 86-592-2388138 China - Xian Tel: 86-29-8833-7252 China - Zhuhai Tel: 86-756-3210040 ASIA/PACIFIC India - Bangalore Tel: 91-80-3090-4444 India - New Delhi Tel: 91-11-4160-8631 India - Pune Tel: 91-20-3019-1500 Japan - Osaka Tel: 81-6-6152-7160 Japan - Tokyo Tel: 81-3-6880-3770 Korea - Daegu Tel: 82-53-744-4301 Korea - Seoul Tel: 82-2-554-7200 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Malaysia - Penang Tel: 60-4-227-8870 Philippines - Manila Tel: 63-2-634-9065 Singapore Tel: 65-6334-8870 Taiwan - Hsin Chu Tel: 886-3-5778-366 Taiwan - Kaohsiung Tel: 886-7-213-7830 Taiwan - Taipei Tel: 886-2-2508-8600 Thailand - Bangkok Tel: 66-2-694-1351 3/12/14 www.microchip.com Information subject to change. The Microchip name and logo, the Microchip logo, dsPIC, GestIC and PIC are registered trademarks and MiWi and mTouch are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective companies. © 2014, Microchip Technology Incorporated. All Rights Reserved. Printed in the U.S.A. 04/14 DS00001036H Microchip Technology Inc. 2355 W. Chandler Blvd. Chandler, AZ 85224-6199