Comparison of different microcontroller development boards for power electronics applications

Similar documents
Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

QuickStart Instructions. Using Keil's ULINK and the Keil ARM/µVision3 Software Development Tool Chain

Overview of Microcontroller and Embedded Systems

Quick Start Installation Guide

CORRIGENDUM ISSUED FOR NATIONAL COMPETITIVE BIDDING UNDER TEQIP PHASE-II

Unlocking the Potential of Your Microcontroller

F 2 MC-8FX Family. 8-bit Microcontroller. MB95200 Series

EB-51 Low-Cost Emulator

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Chapter 7. Hardware Implementation Tools

ECE 487 LAB 1 ÇANKAYA UNIVERSITY Overview of DSP Board

DS1103 PPC Controller Board

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Programming in the MAXQ environment

Electronic Design for Power Control Technology and Knowledge transferred from University to Industry

RabbitCore RCM3700 Series

Renesas Starter Kit for RX111

Kinetis KE1xF512 MCUs

ECE 480 Team 5 Introduction to MAVRK module

Getting Started Guide: TMS-FET470A256 IAR Kickstart Development Kit

DSP240-LPI Inverter Controller Card. Technical Brief

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

The MPC500 Family of 32-bit Embedded Controllers from Motorola. Rudan Bettelheim MCU Marketing Manager 32-bit Embedded Controller Division, SPS

Section Objective: Acquaint with specifications of Launchpad Acquaint with location of switches, LEDs, power-on switch, powering the board.

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

1. Project title: Home Monitoring System. Student: Alexandru Irasoc. Mail address: Student: Constantin Grijincu

Introduction to EZ430 RF2500

Kinetis KV5x Real-Time Control MCUs with Ethernet Up to 1 MB Flash and 256 KB SRAM

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.

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

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

A Sequence of courses using 8, 16, and 32 bit Microcontroller/DSP Boards

High-Performance 32-bit

SMT943 APPLICATION NOTE 1 APPLICATION NOTE 1. Application Note - SMT372T and SMT943.doc SMT943 SUNDANCE MULTIPROCESSOR TECHNOLOGY LTD.

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

TCO305 TCP/IP Control System Interface Development Using Microchip Brand Microcontrollers

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES

Introduction to 8051 microcontrollers

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Embest SOC8200 Single Board Computer

phycore- AT91M55800A

Choosing a Micro for an Embedded System Application

Approximately half the power consumption of earlier Renesas Technology products and multiple functions in a 14-pin package

Low-Cost Microcontrollers

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Laboratory Hardware and Tools

Trends in Prototyping Systems. ni logic Pvt. Ltd., Pune, India

ArduCAM CC3200 UNO board

PXA270 EPIC Computer with Power Over Ethernet & Six Serial Protocols SBC4670

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

2-bit ARM Cortex TM -M3 based Microcontroller FM3 Family MB9A130 Series

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

Interconnects, Memory, GPIO

WHICH MICRO? What does MCU needs to do in my system? What are the tasks? Dr. Adriana Becker-Gomez

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.

STM32F3. Cuauhtémoc Carbajal ITESM CEM 12/08/2013

TUTORIAL Auto Code Generation for F2803X Target

Z8 Encore! XP 4K Series with extended Peripherals

MSP430 Interface to LMP91000 Code Library

D Demonstration of disturbance recording functions for PQ monitoring

Technical Specification for Educational Robots

Easy Kit Board Manual

Factsheet 16FX Concept Compatible Platform of 16-bit Microcontrollers

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

BHFlashBurn v2.0. User Guide. BHFlashBurn-UG-02 April 2008

Incorporating a Capacitive Touch Interface into Your Design

COMPLEX EMBEDDED SYSTEMS

Locktronics PICmicro getting started guide

Lab 1 Introduction to Microcontroller

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

University Program Advance Material

High-Performance 8-Bit Microcontrollers. Up to 8 10-Bit ADC Channels. Two 16-Bit Timers/PWM. Internal Precision Oscillator

LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2. August 2008

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

DS1104 R&D Controller Board Single-board PCI hardware for use in PCs Set of intelligent I/O on-board

Microcontroller Basics

CodeWarrior Development Studio for Freescale HCS12(X) Microcontrollers

IAR Embedded Workbench for 8051 Version 7.30A

Group 10 Programmable Sensor Output Simulator Progress Report #2

ECE332, Week 2, Lecture 3. September 5, 2007

ECE332, Week 2, Lecture 3

HVP-56F82748 Quick Start Guide

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Lecture 1: Introduction to Microprocessors

TMS Bit RISC ARM7TDMI -Based Microcontroller Platform

MYD-IMX28X Development Board

Design of a Simple 3-Lead ECG Acquisition System Based on MSP430F149

STM32 Cortex-M3 STM32F STM32L STM32W

Embedded Systems Laboratory Manual ARM 9 TDMI

Transcription:

5 th International Symposium Topical Problems in the Field of Electrical and Power Engineering, Doctoral School of Energy and Geotechnology Kuressaare, Estonia, January 14 19, 2008 Comparison of different microcontroller development boards for power electronics M.Sc Indrek Roasto, Dr. Dmitri Vinnikov, Prof. Tõnu Lehtla Tallinn University of Technology indrek.roasto@ttu.ee Abstract Proper selection of a microcontroller unit (MCU) for an application is one of the critical decisions which controls the success or failure of your project. There are numerous criteria to consider when choosing an MCU. In this paper three microcontroller units are compared and analyzed to find out the best candidate for power electronics. First, the criteria for selection are defined. Then according to the criteria selected, analysis is carried out. Finally benefits and drawbacks of each model are discussed and the best MCU is chosen. Keywords Digital Signal Processor (DSP), Microcontroller Unit (MCU), Microcontroller Starter kit Introduction Main interest in department of Electrical Drives and Power Electronics of Tallinn University of Technology lie in the design of different kinds of power electronics converters. The objective is to try out some new ideas or optimize conventional converter topologies to increase the efficiency and lower the costs. The constantly varying demands set for converters also presume a flexible and highly effective control system. The standardized and manufactured control systems are mostly optimized for certain types of i.e. they are not flexible and cannot be adjusted to the varying demands. The only solution is to design one s own control system using a microcontroller, which can be programmed freely and with no constraints. The purpose of this paper is to compare and analyze different microcontroller units on the market in order to find out the best candidate for future use in the projects conducted at the department of Electrical Drives and Power Electronics. 1 Criteria of selection Today you can find a microcontroller in almost every electronic device. Because of the very wide area of application, the number of different types of microcontrollers on the market is enormous. To find out the best control unit for power electronics, first some criteria for selection must be established. Two groups of criteria are involved: technical and economic: Technical criteria 1. Development software should be easy to learn and use. Software must include everything needed for the project: a debugger for program code simulation and failure analysis, C language compiler, almost a standard language in the hardware programming today, C language editor to write the program code, and finally, flash burner software to write the program into the microcontroller memory. 2. Working frequency microcontroller speed depends on its working frequency. The higher the frequency, the better performance can be achieved. 3. The number of independent pulse width modulation (PWM) channels PWM is used to control electrical parameters in power electronics. The bigger the number of PWM channels, the more flexible the microcontroller is. It is also important to have a PWM phase shift possibility. 4. Timer units general purpose timers are needed to measure time or create delays inside the control program. The more timers, the more flexible the microcontroller is. 5. Interrupt system interrupts temporarily suspend current program execution and CPU (central processing unit) branches to an interrupt service routine to service an interrupt requesting device. Interrupts could have prioritization levels that allow the user to specify the order in which multiple interrupt requests are to be handled. 6. The number of external interrupts external interrupts allow the CPU to react to external events, e.g. some external impulses could be measured. The higher the number of external interrupts, the more flexible the microcontroller is. 103

7. Analog to digital converter (ADC) is used to convert analog signals from the sensors to digital to enable the CPU analyze them. Basically, the number of ADC channels is equal to the number of sensors that can be connected to the microcontroller. 8. The type of the microcontroller Digital signal processor (DSP) or general purpose controller. DSPs have higher performance, especially in mathematical operations. 9. Integration readiness into a user specified application it should be easy to integrate the module into any user specified Economic criteria 1. Price since university resources are quite limited, the lowest prices possible apply. 2. Availability the microcontroller and its software should be available on the Estonian market. 2 Tested microcontroller modules Two microcontrollers and one DSP (digital signal processor) module were tested. In general, all three modules were specially designed for industrial, their working temperature range being extra wide, reaching from -40 to +125ºC (Industrial Temperature Range), module design is optimized, with enhanced EMI protection and a rich peripheral set for numerous. 2.1 ezdsp starter kit from Texas Instruments The kit includes everything needed for quickly start with Texas Instrument (TI) DSP (see Fig. 1). [1] CD-ROM with C compiler and Code Composer Studio (specifically designed to work only with the ezdsp target) CD with samples Price 391USD 2.2 Rapid Development Kit from Phytec The phycore microcontroller module is designed to be plugged into a Phytec Carrier Board (see Fig. 2). The Phytec Carrier Board contains the I/O connectors as well as any other interface circuitry not provided on the phycore microcontroller module itself. [2] The contents of the kit: phycore-xc167 Single Board Computer module Carrier Board PCM-997-XC Power Supply DB-9 serial cable Phytec Spectrum CD-ROM with µvision evaluation version (including C compiler) CD-ROM with Phytec FlashTools Price 439 USD Fig. 2 The contents of Phytec phycore-xc167 rapid development Kit (a), Phytec Carrier Board 2.3 TMDS-FET470R1B1M Kickstart Development Kit from Texas Instruments The TMS-FET470A256 Kickstart Development Kit is a complete integrated development environment with all necessary hardware and software for development work (Fig. 3). [1] Fig. 1 ezdsp starter kit including TMS320F2812 DSP in Socket, Power Supply, Code Composer Studio for C28xx The contents of the kit: 104 DSP chip ezdsp F2812 Power supply Parallel port cable for programming the controller Fig. 3 TMS470 Peripheral board (a), JTAG Debugger with USB connector (b):

The contents of the kit Processor board with TMS470R1B1M microcontroller TMS470 Peripheral board JTAG Debugger with USB connector USB and 20-pin flat cable CD-ROM of IAR Embedded Workbench for ARM with the Integrated Development Environment (IDE), C compiler and complete documentation Price 399 USD 3 Analysis and comparison of microcontroller modules 3.1 ezdsp DSP module F2812 The ezdsp module comes with a DSP (digital signal processor) chip TMS320F2812. The DSP is basically a microcontroller that contains architectural optimizations to speed up processing. In contrast to general purpose microprocessor, DSPs are optimized for signal processing. DSPs offer many architectural features that actually reduce the number of instructions necessary and they can handle many instructions running parallel. The hardware features of the ezdsp DSP module F2812: Working frequency 150 MHz 64 KB on board RAM 128 KB on chip Flash memory Onboard embedded IEEE 1149.1 JTAG controller for real-time debugging Onboard IEEE 1149.1 JTAG emulation connector +5V power supply The ezdsp DSP module F2812 consists of a carrier board (83 x 146 mm) with an on-board emulator and DSP chip (TMS320F2812). The on-board emulator provides the real-time debugging and visualisation. TMS320F2812 is optimized for industrial, such as digital motor control, digital power supplies and intelligent sensor. Up to 16 PWM waveforms can be generated simultaneously, six independent pairs with programmable dead times or four independent phase shifted PWM signals by synchronizing timers. Additionally, the DSP module is equipped with three 32-bit general purpose timers for user. The ezdsp DSP module F2812 has one 12 bit ADC with 16 analog channels. The conversion results of each channel will be automatically stored in separate registers. The DSP has 96 interrupt sources, the prioritization of which is controlled in hardware and software. Therefore, the CPU can respond quickly to nterrupt events. Three external interrupt sources allow the DSP also to react to external events. All the input and output signals of the DSP are connected with the expansion connectors. The standardized via-connectors (see Fig. 4) can be used to easily connect the DSP module with any user The development software Code Composer Studio included in the started kit of ezdsp DSP module F2812 is easy to use and quick to learn. There are many examples included, which give a good starting point. The software configuration according to the DSP module is easy. The C compiler has no code limit. The only limitation is that the Code Composer Studio is specially designed for the ezdsp DSP module F2812 and will not work with a module designed one s own. Thus, it is ideal for a prototype development but for production purposes the full version of the Code Composer Studio is needed. Numerous materials are available to describe the functionality of the DSP TMS320F2812. It might be a little confusing and hard to find the right document at the beginning but as compared to other microcontrollers, its technical specification is more informative. Texas Instruments has two distributors in Estonia, which makes it easy to order and purchase their equipment. [1][3] Fig. 4 DSP module TMS320F2812 3.2 phycore-xc167 Single Board Computer (SBC) module The phycore-xc167 is a general purpose processor (GPP) based on the XC167CI microcontroller from Infineon in TQFP-144-50 housing. The Flash can easily be programmed on board. The hardware features of the microcontroller module: Working frequency 40 MHz 512 KB on board SRAM 1 MB on chip flash memory +5V power supply 105

The phycore SBC module (60 x 53 mm) is designed to be plugged into a Phytec Carrier Board (100 x 160 mm). The PHYTEC Carrier Board contains the I/O connectors as well as any other interface circuitry not provided on the phycore module itself. All the input and output signals of the phycore SBC module are connected with the expansion connectors. However, very specific Molex SMD connectors are used, which can only be achieved from Phytec. Therefore, the connectivity to the user is not as easy and simple as it is by the ezdsp DSP module from Texas Instruments. The phycore SBC module comes with the on-board 16 bit microcontroller XC167. It is a combination of DSP and general purpose microcontroller. The added DSP functionality reduces the execution time of multiplications and divisions considerably. The XC167 microcontroller is supported with a special PWM generation block CAPCOM6. That provides three pairs of output signals of inverted polarity and non-overlapping pulse transitions (deadtime control). In addition, it has one independent PWM output. An alternative to the CAPCOM6 is two Capture/Compare timers, which can also be used to generate PWM. Each Capture/Compare unit provides 16 PWM channels. Using CAPCOM6 and Capture/Compare timers four independent phase shifted PWM signals can be generated. The XC167 microcontroller is equipped with five 16-bit general purpose timers which may be used for timing, event counting, pulse width measurement, pulse generation, frequency multiplication, and for other purposes. XC167 provides a 16 channel ADC with 8-bit or 10-bit resolution (software specified) and a sample & hold circuit on-chip. An input multiplexer selects between 16 analog input channels either via software or automatically. Conversion results will be stored in the same register. Therefore, every next conversion will overwrite the previous result. XC167 provides 80 separate interrupt sources assignable to 16 priority levels, with 8 sub-levels (group priority) on each level. Up to 10 external interrupt sources allow the microcontroller also to react to external events. The starter kit includes an evaluation version of the development environment µvision together with the C compiler C166. The evaluation version of C166 compiler, assembler, and linker is limited to 4KB of the object code. Apparently the software included in the starter kit does not suit to the demands set for prototype development. The full version costs about 3500 USD. Because of many configurations, development software is quite difficult to learn. There are too few examples. The C code editor of µvision is not as comfortable to use as the Code Composer Studio from Texas Instruments. µvision has also a built-in software debugger, whereas the evaluations version is limited to 8 KB of the code. For real-time debugging you will need to buy some additional equipment. [2][4] 106 Fig. 5 4.2 phycore-xc167 Single Board Computer module (a), Phytec Carrier Board (b) 3.3 TMS470 Processor board with 60 MHz TMS470R1B1M TMS470 (Fig. 6) is a GPP based on the ARM7TDMI core, which offers an industrystandard architecture, including two instruction sets, 32-bit instructions for fast execution and 16-bit instructions for high code density. TMS470 combines the powerful ARM7 core with intelligent peripherals that reduce the load on the CPU by automating common data handling activities. The hardware features of the microcontroller module: Working frequency 60 MHz 64 KB on board SRAM 1 MB on chip Flash memory +9V power supply Targeted for industrial, TMS470 has a rich set of peripherals - up to 32 timer channels, 16 channels of 10-bit Analog-to-Digital Converters, and a variety of communication interfaces. The high-end timer (HET) is a programmable timer co-processor with up to 32 associated timing output pins for timer functions, such as capture, compare, pulse width measurement, PWM and general-purpose I/O channels. The TMS470 provides a 16-channel 10-bit resolution multi-buffered ADC. The interrupt module of TMS470R supports up to 64 interrupt sources and provides programmable interrupt priorities. Additionally, eight external interrupt sources allow the microcontroller to react also to external events. All the input and output signals of the microcontroller are connected with the expansion connectors. The standardized via connectors can be used to easily connect the DSP module with any user The starter kit includes a complete software pack, including the following programs: KickStart 16KB (code limit) C/C++ compiler Project manager Editor Linker and librarian tools Debugger Complete integration with J-Link (for hardware debugging)

The software is simple and quick to learn. However there is a 16 KB code limit in the C/C++ compiler. Therefore, the software included in the starter kit does not satisfy the demands of prototype development. Texas Instruments has two distributors in Estonia, thus it is easy to order and purchase. [1] Fig. 6. TMS470 Processor board with 60MHz TMS470R1B1M microcontroller 4 Conclusion Two microcontrollers and one DSP module were compared and analyzed. The benefits and drawbacks are listed below: ezdsp DSP from Texas Instruments Enough PWM channels Reasonable price Two distributors on the Estonian market Software easy to use and without code size constraints Many programming examples included in the starter kit The DSP board can be easily built into the user Confusing documentation phycore-xc167 from Phytec 10 external interrupts 23 PWM channels Software difficult to use Evaluation software has code constraints Additional expenditure to purchase the full version software needed Too few examples and little help Connectivity to user difficult because of the specific Molex SMD connectors No distributor on the Estonian market TMS470 Processor board from Texas Instruments 8 external interrupts 32 channel high-end timer unit Distributor on the Estonian market Evaluation software has code constraints Additional expenditure to purchase the full version software needed Too few examples and little help Documentation confusing and not very detailed The best candidate to be used in our projects seems to be the ezdsp DSP module F2812 from Texas Instruments. Its price is lower than that of the Phytec phycore-xc167 or TMS470 GGP which have code constraints in the evaluation software, so additional expenditures are involved to purchase the full version software. Moreover DSP has much higher performance than a GGP. In addition, Texas Instruments have the most user friendly and easy to learn development environment. The only disadvantage is that the documentation is too confusing however, that will be compensated by the high performance of the hardware. Acknowledgement The authors would like to thank Dr. Ilja Galkin from Riga Technical University for technical support and for sharing his experiences with Texas Instruments microcontrollers. References [1] www.ti.com, Webpage of Texas Instruments Inc. [2] www.phytec.com, Webpage of PHYTEC America, LLC. [3] Galkin, I. MSP as an introductory training microcontroller. 2-nd International Symposium Topical Problems of education in the Field of Electrical and Power Engineering, Kuressaare, Esonia, 2005, 123-126 [4] Joller, J. Lehtla, M. Development System for Special Purpose Electrical Drives and Converters. Proceedings of 3-rd International Symposium on Advanced Electromechanical Motion Systems ELECTROMOTION 99. University of Patras, Greece, 1999, 637-640. [5] Aksamovic, A; Pasic, Z; Imamovic, F; Selection of Processors as a Base for Development of Special Purpose Numerical Systems. 107