Wall Industries SMPS and Microcontrollers

Similar documents
PIC Microcontroller Introduction

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

AKKON USB CONTROLLER BOARD

Homework 6: Printed Circuit Board Layout Design Narrative

Basic Components of Digital Computer

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

Introduction to ARM LPC2148 Microcontroller

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Figure 1. A test controller communicates with User I/O, the DUT, a DMM, and a PC (for program development).

AVR Microcontrollers Architecture

Section 30. In-Circuit Serial Programming (ICSP )

ASI. Switched-Capacitor Boost Converter 3.3V-5.0V 100mA GENERAL DESCRIPTION FEATURES APPLICATIONS

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

5. Current Sharing in Power Arrays

ECE383: Microprocessors Lab 9 Analog-to-Digital and Digital-to-Analog Conversion with I 2 C Serial EEPROM Data Storage

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

Analog ASICs in industrial applications

Battery Stack Management Makes another Leap Forward

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

PIC32&Overview& E155&

YB1300S Switched Capacitor Boost Converter 5V/4.5V

Group 10 Programmable Sensor Output Simulator Progress Report #2

ootbrobotics.com Electronics and Robotics LLC

Overview of Microcontroller and Embedded Systems

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

CV Arpeggiator Rev 2 Build Documentation.

Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual

ACU6. Technical Reference Manual. Specifications Interfacing Dimensions. Document topics. ANSARI Controller Unit Type 6 technical reference manual

PIC Serial Peripheral Interface (SPI) to Digital Pot

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

Freescale Semiconductor, I

ELET114A Bluetooth Module DATASHEET. Website: / 7

Locktronics PICmicro getting started guide

Logic Chip Tester User Manual SW Version /8/2012. Chapter 1 Introduction/Background

Final Presentation P14452

VLSI AppNote: VSx053 Simple DSP Board

1. Features and Benefits

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

SmartFan Fusion-4. Speed Control and Alarm for DC Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling.

µpad: Microprocessor for Academic Development

TI Designs: TIDA Power Supply Reference Design for Automotive Microcontroller in Gateway and Body Control Module

Rapid28iXL PIC Prototyping PCB User Manual

Pic24f Family Reference Manual Section 14. Timers

Rapid40i PIC Prototyping PCB User Manual

BrewTroller Phoenix. Owners Manual. Updated - March 14, 2016 BREWTROLLER PHOENIX 1

HM9708 HM9708. Battery-Powered Equipment Motherboard USB Power Switch USB Device Power Switch Hot-Plug Power Supplies Battery-Charger Circuits DC+ VIN

ARDUINO YÚN Code: A000008

Freedom FRDM-KV31F Development Platform User s Guide

HX4002 HX1001. White LED Backlighting Li-Ion Battery Backup Supplies Local 3V to 5V Conversion Smart Card Readers PCMCIA Local 5V Supplies

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

EZ-Bv4 Datasheet v0.7

Preliminary Technical Data Digital Controller for Isolated Power Supply Applications ADP1043 FEATURES Integrates all typical controller functions Digi

TWR98/99. ISP Programming. Application Note. Tenx reserves the right to change or discontinue this product without notice. tenx technology inc.

2 AA Cell to 3.3V USB On-The-Go Devices White LED Drivers Handheld Devices. The HM3200B is available in the 6-pin SOT23-6.

YM12S05 DC-DC Converter Data Sheet VDC Input; VDC 5A

MICROCONTROLLER BASED SMART FAN SYSTEM

Microchip Technology Enhances Popular 16- and 32-bit Development Platform with Application-Specific Expansion Hardware

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

PIC Microcontroller and

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Four-Channel Universal Analog Input Using the MAX11270

Selecting PLLs for ASIC Applications Requires Tradeoffs

Stellar Instruments. SC1 Controller & Display System. General User s Manual. Copyright 2013 Stellar Instruments 1

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Typical applications where a CPLD may be the best design approach:

Fully programmable by LabVIEW. Peripherals supported by dedicated LabVIEW drivers. Editable demo programs

Features. Applications

HIGH-PRECISION COULOMB COUNTER. George Sandler, UNCC ECE

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

BSCB-2 BASIC STAMP CARRIER BOARD

S12VR Hardware Design. Guidelines. 1 Introduction. 2 Hardware Design. Guidelines. 2.1 Voltage regulator. Freescale Semiconductor

Obsolete. LX1800 SMBus TO ANALOG INTERFACE

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

The amount of current drawn and the temperature generated by DC motor are crucial in understanding the performance and reliability of motors.

Microcontrollers for Ham Radio

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT DC BIT MICROPOWER NO LATENCY DELTA SIGMA ADC LTC2400 DESCRIPTION

Homework 6: Printed Circuit Board Layout Design Narrative

Doc: page 1 of 9

Freescale s Next Generation 8-bit LCD Solutions

Explanation of PIC 16F84A processor data sheet Part 1: overview of the basics

Rapid40iXL PIC Prototyping PCB User Manual

Course Introduction. Content: 21 pages 4 questions. Learning Time: 35 minutes

EEM336 Microprocessors I. I/O Interface

DEV-1 HamStack Development Board

MICROCONTROLLER S PROGRAMMER

EMBEDDED SYSTEMS COURSE CURRICULUM

HAND HELD PROGRAMMER QUICK START GUIDE

POWER SAVER METER USING MICROCONTROLLER TO SAVE ELECTRICITY UPTO 30-40%

CEIBO FE-5111 Development System

VMIVME-2120 Specifications

Version MICROSTRAIN, INC. Microminiature Sensors. OEM Inertia-Link /3DM-GX2 Modules. Guidelines for Use of OEM Inertia-Link /3DM-GX2 Modules

PIC PORTABLE PROGRAMMER QUICK START GUIDE

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

Nuvoton 1T 8051-based Microcontroller NuTiny-SDK-N76E885 User Manual

New 70 MIPS dspic33ep and PIC24EP Family High Performance, Integrated Analog, Easy Migration

Interfacing to Digital Potentiometers

Good Idea to Working Electronic Model

Transcription:

Wall Industries SMPS and Microcontrollers Introduction Wall Industries commitment to the latest technologies is evident in its recent announcement to add microcontrollers to their already advanced designs. The purpose of this white paper is to educate Wall s customers of the uses and capabilities on modern microcontrollers when used in power electronics products. We will start by describing what exactly a microcontroller is; what some of its capabilities are; site some examples of microcontroller uses in power electronics; and, finally, the functions of the microcontroller. Wall Industries TP Wide Input Range Isolated Converter will be examined as an example. Microcontrollers Microcontrollers are programmable devices that can perform digital processing and replace analog circuitry. Unlike PC microprocessors, microcontrollers are mostly self-contained in that they require no external parts such as memory or oscillators. Their relatively low-cost and numerous internal peripherals make them ideal to replace analog circuitry in power supplies. Furthermore, once the microcontroller is embedded in the design, new capabilities and flexibilities can be realized. Also, due to continuous performance improvements, some microcontrollers now can be used in applications that once required high-end digital signal processors (DSP s). Practical Uses in Power Supplies There are many practical uses of microcontrollers in power supplies. The uses range from mimicking existing analog circuitry to adding never -beforeavailable features to the power supply. The simplest use is in replacing supervisory control circuits. For example, the micro can control the behavior of the power supply during start-up - including when to begin synchronous rectification to prevent back-bias glitches. The micro can monitor the enable pin and react appropriately particularly when the pin is used after fault conditions or during start-up. Handling these corner conditions can add costs to a power supply without a microcontroller. With respect to fault conditions, microcontrollers are particularly agile at handling the various protection requirements of a modern power supplies (e.g. resettable latch, limited hiccup, combination faults). Microcontrollers can also get involved in the feedback control mechanisms of the power supply. While it would require a very fast microcontroller for a typical converter to have complete digital control, there are many hybrid options that make much more sense. For example, the analog PWM can be digitally controlled inside the microcontroller. This would allow the PWM to be easily shut down when required, its frequency be digitally Wall Industries SMPS and Microcontrollers 1

controlled (even modulated for noise reduction pusposes), or give fault information directly to the controller firmware. Other alternates to complete digital control include control element tuning and hybrid control where the slower outer voltage loop is digital but the fast inner current loop is still analog. While microcontrollers can replace existing analog circuitry, they can also add some functions to a power supply that have normally been reserved for higher end systems due to cost considerations. Now with powerful inexpensive microcontrollers available, even the simplest converters can get advanced digital capabilities like communication and logging. These improvements are allowing computer systems to communicate with its power systems and gather information and control behavior. It is even possible now to log into a power supply to check its statistics. Indirect Advantages The advantage of adding microcontrollers to our products goes beyond the new capabilities that microcontrollers will now facilitate. While new features are important, solving issues associated with traditional design methods are critical. Adding microcontrollers can have several indirect advantages including cost, reliability, and flexibility. Direct costs can be reduced because many analog components such as window detectors, comparators and latches can be replaced with a single microcontroller. Integrating many components into one increases reliability, but also saves board space. This extra board space can be used to save costs by producing a smaller product. It can also be used to improve the performance of the power supply by increasing current carrying copper or the size of the magnetics. Since the software is flexible, a single design can accommodate several part types saving money. For example, one hardware design can handle positive or negative enable logic, latching or hiccup behavior. Custom behavior can be added with no added manufacturing costs. Having a programmable micro also allows us to quickly meet changing customer requirements. Before using microcontrollers, a small change in a timing specification or recovery behavior would require a change in the bill of materials, PCB change or even a new design. Now many of the changes can be handled with only a firmware update. These changes are quicker, cheaper and can be performed on existing hardware either in the factory or sometimes in the customer s box. Types and Capabilities While there are many semiconductor manufacturers of microcontrollers (e.g. Atmel, Cypress Microsystems, Freescale Semiconductors, Texas Instruments), in the interest of brevity, we will focus now only on Microchip s PIC microcontroller line (www.microchip.com). The extensive PIC line microcontrollers can be roughly divided into three groups: basic, advanced and high-end. As the microcontroller capabilities increase and cost decreases each year, what functions are included in each of these categories changes. The following is a current snapshot. Wall Industries SMPS and Microcontrollers 2

One example shown in Figure 1 is a microcontroller in the basic category, the PIC10 series. Figure 1 Example of Microcontroller in Basic Category This small 6-pin SOT-23 device has many imbedded features that can easily replace some analog circuitry in a power supply. The microcontroller has a builtin RC clock for noise immunity, a watch -dog timer to guard against power glitch lock-ups, an internal comparator with reference and an analog to digital converter (ADC). This part is used in Wall s TP Wide Input Range Isolated Converter which we will discuss in the next section. Basic microcontrollers are usually small pin devices with an 8-bit core. An example of a PIC microcontroller in advanced category is shown in Figure 2, the PIC 18 series. Figure 2 Example of Microcontroller in Advanced Category As the picture indicates, this microcontroller can give the power supply advanced communication capabilities such as a USB interface. Other examples of advanced microcontroller s communication features include other serial communication, I2C, SPI, and even Ethernet protocols like HTTP and SNMP. These advanced internal peripherals, larger memory, and pin count are what separate the advanced microcontrollers from the basic category. Finally, high-end microcontrollers at Microchip include the 16 -bit dspic, shown in Figure 3, or the new 32-bit PIC32. Figure 3 Example of Microcontroller in Highend Category These powerful microcontrollers can perform the functions of a DSP, but at a fraction of the cost. Plus, since they are a microcontroller, using one of these devices required very few external parts. This is category that would be required for an all-digital control power supply. The advantages to all digital control depend on the application, but in some instances can give the power supply a performance edge under changing load conditions. Case Study TP Wide Input Range Isolated Supply As a practical example of using a basic microcontroller in a power supply, Wall Industries SMPS and Microcontrollers 3

consider Wall s new TP converter. The summary specifications for this industry standard half brick are: 18 75Vin Output voltages ranging from 1Vout to 24Vout High efficiency (>92%) Low assembley cost Industry compatible o Trim o Pin out o Height o Thermal design o Enable o Sensing 200W output power A picture of the TP product with the microcontroller highlighted is shown in Figure 4. All these functions control whether the power supply is on or off. To control the converter, the microcontroller interfaces with the analog PWM integrated circuit. A block diagram of the microcontroller in this design is shown in Figure 5 and the usage of the six pins of the microcontroller shown in Table 1. Of the six pins of the microcontroller, two are dedicated to power and ground. The remaining pins are fully configurable. In this application, during normal operation, three of the remaining pins are used as inputs (GP0, GP1, and GP3) and one is used as a digital output (GP2). To measure the input voltage and temperature, GP0 and GP1 use the Analog to Digital converter (ADC) inside the microcontroller. The enable pin of the converter is connected through some protection circuitry to the digital input pin (GP3). During manufacturing, the microcontroller can be programmed with its firmware even after it has been installed on the board. This feature is called incircuit programming. A special connector or test pads can be used for this function. Note that these in-circuit programming pins are not dedicated, and are used for normal functions during operation. Figure 4 TP Half Brick with Microcontroller To accomplish some of the basic supervisory controls, the product uses Microchip s 10F222 6-pin 8-bit microcontroller. The functions handled by the microcontroller are: Input Under Voltage Lockout Input Over Voltage Lockout Output Over Voltage Protection Over Temperature Protection Enable Pin Functionality Conclusion The TP converter is the first of many products we will be introducing that have been enhanced with microcontrollers. While the TP only utilizes a basic micro-controller, products with much more advanced features will soon be available. Wall Industries SMPS and Microcontrollers 4

V in Incircuit Programming Data Clock Vdd Reset Active Thermistor Vdd GP0 GP1 GP3 1 3 6 5 10F222 2 Vss 4 GP2 ENA PWM Enable Pin Table 1 Microcontroller Pins in TP Converter Pin # Pin Name Function(s) Notes 1 GP0 Measures Input Voltage Voltage sampled using internal A/D Data in/out Used for in-circuit programming 2 VSS Ground 3 GP1 Measures Temperature Uses internal A/D to sample voltage of external active thermister IC. Uses internal A/D to sample voltage. Pin also used for in-circuit programming. Clock Used for in-circuit programming 4 GP2 Power Supply On/Off Pin is connected to the analog PWM enable pin 5 VDD +5V Power 6 GP3 Enable Pin Input Signal is protected by external rail diodes before leaving converter. Pin also used for in-circuit programming. Wall Industries SMPS and Microcontrollers 5