TMS320F241 DSP Boards for Power-electronics Applications

Similar documents
CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE

CHAPTER 4 HARDWARE DEVELOPMENT OF STATCOM

DSP BASED SYSTEM FOR SYNCHRONOUS GENERATOR EXCITATION CONTROLL

Motor Control using NXP s LPC2900

Triscend E5 Support. Configurable System-on-Chip (CSoC) Triscend Development Tools Update TM

Index Terms IR communication; MSP430; TFDU4101; Pre setter

Microcontroller Based Electric Expansion Valve Controller for Air Conditioning System

32-bit Microcontroller for Home

CHAPTER 6 DEVELOPMENT OF A CONTROL ALGORITHM FOR BUCK AND BOOST DC-DC CONVERTERS USING DSP

Using the TMS320C24X DSP Controller for Optimal Digital Control

ZKit-51-RD2, 8051 Development Kit

ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION

RAPID CONTROL PROTOTYPING FOR ELECTRIC DRIVES

Programming and Interfacing

CHAPTER 2 VSI FED INDUCTION MOTOR DRIVE

A Digital Thyristor Trigger Control System based on DSP

3.3V regulator. JA H-bridge. Doc: page 1 of 7

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller

Training Schedule. Robotic System Design using Arduino Platform

Designing with STM32F3x

DASL 120 Introduction to Microcontrollers

Implementation of Multiquadrant D.C. Drive Using Microcontroller

Digital microcontroller for sonar waveform generator. Aleksander SCHMIDT, Jan SCHMIDT

DESIGN OF AN EMBEDDED BATTERY MANAGEMENT SYSTEM WITH PASSIVE BALANCING

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

ARDUINO BASED DC MOTOR SPEED CONTROL

Normally, digital speedometers

Design of an electronic platform based on FPGA-DSP for motion control applications

Design of Joint Controller Circuit for PA10 Robot Arm

RX23T inverter ref. kit

Nicolò Antonante Kristian Bergaplass Mumba Collins

Dual core architecture with custom N-PLC optimized DSP and Data Link Layer / Application 32bit controller

DSP Development Board

SilverMax Datasheet. QuickSilver Controls, Inc. NEMA 23 Servomotors.

Serial Servo Controller

Four Quadrant Operation of Chopper Fed Separately Excited DC Motor by Decoupled PWM Control Using Digital Signal Processor

Data Logger Subsystems Mark Buccini February 2012

MICROCONTROLLER BASED SPEED SYNCHRONIZATION OF MULTIPLE DC MOTORS IN TEXTILE APPLICATIONS

Hardware Platforms and Sensors

Design and Implementation of AT Mega 328 microcontroller based firing control for a tri-phase thyristor control rectifier

1. GENERAL DESCRIPTION FEATURES PIN DESCRIPTION BLOCK DIAGRAM... 5

EECE494: Computer Bus and SoC Interfacing. Serial Communication: RS-232. Dr. Charles Kim Electrical and Computer Engineering Howard University

Preliminary GHz Transceiver-µController-Module. Applications PRODUCT SPECIFICATION FEATURES MICROCONTROLLER MHz

EE 314 Spring 2003 Microprocessor Systems

DS1307/DS X 8 Serial Real Time Clock

Critical Design Review: M.A.D. Dog. Nicholas Maddy Timothy Dayley Kevin Liou

Digital Power: Consider The Possibilities

Citrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass

Implementation of a Single-phase Unipolar Inverter Using DSP TMS320F241

ELCT 912: Advanced Embedded Systems

FPGA-Based Autonomous Obstacle Avoidance Robot.

802.11g Wireless Sensor Network Modules

Introduction to the Arduino Kit

The Development and Application of High Compression Ratio Methanol Engine ECU

Activity 4: Due before the lab during the week of Feb

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

International Journal of Advance Engineering and Research Development. Wireless Control of Dc Motor Using RF Communication

Open Loop Speed Control of Brushless DC Motor

Imaging serial interface ROM

Wireless DAQ using LabVIEW

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

Document Number: 400 GPS 080

Unit level 5 Credit value 15. Introduction. Learning Outcomes

Multi Frequency RFID Read Writer System

Analog Devices: High Efficiency, Low Cost, Sensorless Motor Control.

Intelligent and passive RFID tag for Identification and Sensing

CR 33 SENSOR NETWORK INTEGRATION OF GPS

RL78 Motor Control. YRMCKITRL78G14 Starter Kit. Renesas Electronics Europe. David Parsons Application Engineering Industrial Business Group.

TMPN3120FE3M, TMPN3120FE3U

Design of stepper motor position control system based on DSP. Guan Fang Liu a, Hua Wei Li b

High-speed and High-precision Motion Controller

SNIOT702 Specification. Version number:v 1.0.1

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

32-bit ARM Cortex-M0, Cortex-M3 and Cortex-M4F microcontrollers

Speed Control of BLDC Motor Using FPGA

Motor Control Development Kit

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5.

Peripheral Link Driver for ADSP In Embedded Control Application

JUMA-TRX2 DDS / Control Board description OH2NLT

Hybrid Controller. 3-Phase SR Motor Control with Hall Sensors Reference Design. Designer Reference Manual. Freescale Semiconductor, I

I. INTRODUCTION II. LITERATURE REVIEW

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (An ISO 3297: 2007 Certified Organization)

Using Z8 Encore! XP MCU for RMS Calculation

Wireless Music Dock - WMD Portable Music System with Audio Effect Applications

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. FreeSoC 8051 Board User s Manual

Micro Controller Based Ac Power Controller

Servo Sequencer Servo Robot motion controller & General Purpose microcontroller board

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources

Study of M.A.R.S. (Multifunctional Aero-drone for Remote Surveillance)

REACTIVE POWER COMPENSATION IN DISTRIBUTION SYSTEM

Standard single-purpose processors: Peripherals

Low Cost Motor Control Family

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

Research of Electric Welding Machine s Tractor System Based on Digital Signal Processor Li-li Ding1, Jin Hu2

Cortex-M3 based Prepaid System with Electricity Theft Control

DESIGNING A POSITION REGULATOR FOR AN ACTUATOR POWERED BY A CONTINUOUS CURRENT MOTOR USING THE PIC16F73 MICROCONTROLLER

Specifications and Interfaces

National Infotech. Electrical Drive Trainers. Developed By: : Authorized Dealer : Embedded System Solutions

EXPERIMENTAL STUDY FOR ENHANCEMENT THE THREE-PHASE INDUCTION MOTOR USING MICROPROCESSOR TMS320F

Transcription:

TMS320F241 DSP Boards for Power-electronics Applications Kittiphan Techakittiroj, Narong Aphiratsakun, Wuttikorn Threevithayanon and Soemoe Nyun Faculty of Engineering, Assumption University Bangkok, Thailand Abstract This paper presents the design of Digital Signal Processor (DSP) boards for power-electronics applications. This board is mainly designed for the experiment in the university s laboratory, however, its design allows the practical used in the commercial products. This work uses the TMS320F241, which is the TI s DSP for the control application as the main processor. The overview of the architecture, the board design, the way to use the board, and some examples are presented. This board is currently in used by many power electronics and consumer products, e.g. motor drive, proximity card reader/controller. Keywords: Hardware design, Digital Signal Processor, DSP, Power Electronics Application, Control System Introduction New power electronics applications become possible by the availability of highspeed micro-processor (Kamruing 2001; Paothong 2002; and Threevithayanon 2002). These power electronics applications are embedded into many consumer electronics, e.g. refrigerator, air-condition, microwave oven. The high demand of higher computational speed has been posted. Many semiconductor companies, e.g. TI (www.ti.com), Analog Devices (www.analogdevices.com), Motorola (www.motorola.com) have produced the highspeed processor in the form of Digital Signal Processor (DSP) for control applications. The Digital Signal Processor for control applications are the high speed processor with the enhancement of the special circuits to handle the power electronics applications such as the PWM circuit to generate the analog signals, the quadrature encoder circuit to decode the rotational distance and speed. Our works are concentrated on the TMS320F241, the DSP from Texas Instrument. This DSP has the performance in the Midrange (20MIPS). Although there are many evaluation boards and experimental boards (www.softronx.com; www.spectrumdigital.com, www.technosoftmotion.com) available in the market, those boards are mainly design only for the educational purposes. The proposed DSP board is designed such that it can be used for both educational and embedded in the real product. The design allows the full uses of all built-in peripheral while optimized the cost of the platform. As the educational evaluation boards, this board costs less than one forth of the one from TI. The next section discusses about the feature available on the TMS320F241. The third and fourth section concentrates on the feature of the board. TMS320F241 Architecture TMS320F241 (Texas Instruments 2000a; Texas Instruments 2000b) is the high-speed 16- bit processor designed specially for the control applications. This DSP composes of the standard features, which are 8 kwords of programmable flash ROM, 512 words of RAM and the built-in multiplier units. The chip can operate at the speed of 20 million instructions 168

per second. The multiplier circuit is built-in to make the complicate control algorithms possible. Timer UART CAN Serial Digitsl I/O Processor ADC PWM Three standard serial communication are integrated into this processor. First is the standard asynchronous serial communication interface (SCI). This SCI can be configured for interfacing to the RS-232 (point-to-point) or RS485 networks. This serial communication port allows up to 1.25Mbps. Second is the serial peripheral interface (SPI). This is the high-speed synchronous serial communication. This interface allows the transfer of information at the rate up to 5Mbps. This highspeed interface is becoming popular in many modern peripherals, e.g. Multi Media Card (MMC). The third serial interface is the Controller Area Network (CAN). This is the robust communication network using in many industry applications. CAN is capable of building a multi-point local area network. CAN allows transmit up to 40kbps at the distance of 1km, while the bit rate can be increase up to 1Mbps for the shorter distance. The processor composes of many extra circuits, i.e. ADC unit, PWM unit and QEP unit, to enhance the implement of control applications. Analog to Digital (ADC) unit and Pulse Width Modulation (PWM) unit are the interfacing parts of the processor and the real analog world. Up to 8 analog signals, e.g. Voltage and current can be sampling at the speed of 200,000 samples per second with the resolution of 10-bit. The PWM unit can be acted as the digital to analog converter that is the output of the processor to the analog domain. The PWM unit composes of both the normal PWM modules to generate up to five independent analog signals. The PWM modules can be combined to generate a three phase signals to drive the three phase power electronics applications. This three phase signals are the six digital signals grouped into three pairs. Each pair, the signal for each phase and its inverted signal, can be directly signal to the power devices, e.g. IGBT driver from Semikron (www.semikron.com) ASIPM from Mitsubishi (www.mitsubishichips.com). The circuit inside PWM modules can generate the proper deadband to protect the short branch of the power devices. This deadband timing can be set up to 40 microseconds. The built-in Quadrature Encoder Pulse Circuit makes the speed and position measurement easier and faster than writing the detection in software. The encoder is the equipment that converts the rotational mechanical movement into the series of 2-bit binary code. The circuit accepts the maximum frequency of more than 2 million pulse per second allowing the ability of capturing the speed and position of the motor at the precision of 1/10000 revolution at the speed of 12,000 rpm. Practically we are detecting 1/1000 revolution at the speed of 1,500 rpm. Board Design The board is designed to be used both in the laboratory and in the industry. To be suitable for operating in the laboratory work, this DSP board has to be easily to build, use and expand. The industry applications required the board to be highly reliable, compact and cost effective. The size of this board is 90x60 mm. It composes of the processor, processor supervisory, RS232 driver, CAN driver, EEPROM, analog filter and regulator. The processor is designed to run at the full speed of 20MIPS. Because the PLL inside the processor multiply the clock frequency by four, the 5MHz crystal is used. DS1232 is used as the optional processor supervisory. This supervisory has three main functions; watchdog, supply voltage monitor, and manual reset. Although the DSP contains the built-in watchdog, the DS1232 s watchdog 169

has the longer watch time of 0.5s. The supply voltage monitor resets the processor in the case of supply failures. RS232 driver and CAN driver is added for the processor to connect to the RS232 line or CAN. The processor contains only the circuit to manage the protocol timing. The analog interface, e.g. voltage level and isolation, is handle by the separated driver. I 2 C serial EEPROM is used for the nonvolatile storage of up to 128 kbytes. Some applications (Paothong 2002) use the processor main (flash) memory instead of EEPROM, however, the reliability of the system can be decreased with the poor programming software. The analog filter at the input of the analog to digital converter is designed to filter the noise at high frequency. It also adjusts the proper external impedance for the sample and hold circuit inside the ADC. Voltage Regulator allows the board to accept the input from 7-18 V (with LM7805) or 6-15 V (with LM2940). The processor and its peripherals consume the total of 120 ma. The extra heat ventilation need to be added if the high reliability is required or there are the high power consumption devices taken power out of this board. Software Development The process of developing software is as follow: programming: Assembly Language, C language and visual development. Assembly and C language are supported by the Texas Instrument s own assembler and compiler. Visual Development Tools is available by the third party. After the compilation, the binary code will be generated in the form of Intel Hex file format. This Hex file will be loaded into the flash ROM of the DSP. The external programmer, the JTAG programmer and RS232 serial programmer are the three common methods of programming the chip. The first method requires the external programmer, which is quite expensive and not possible for the in-circuit programming. It is proper for the mass production. The JTAG method and RS232 are both in-circuit programming. JTAG requires external JTAG programmer, which is bulky. The RS232 for in-circuit programming is the method we used for this DSP platform. This method uses the features of the DSP to write the flash ROM by the software. The process requires small software called Serial Boot Loader (SBL) installed on the DSP. For TMS320F241, SBL need to be loaded into the chip for the first time by other methods, i.e. JTAG or programmer. The new version of DSP, i.e. TMS320LF2406, is built-in this software inside the masked ROM by the manufacturer. Once the SBL is installed the Hex file can be read from the serial port and programmed into the flash ROM. This method requires the additional of 256 bytes of the flash ROM. The advantage of this method is the capability of on-site, in-circuit upgrade of the firmware. Hardware Expansion Connectors Currently there are three type of The DSP board contains two types of connector. The first type is the group of connectors that are designed for connecting with the daughter board. The second type is the connectors that used to connect with the outside peripheral such as serial port or temperature monitor port. The first group composes of four separated connectors. All connectors contain the signal pins, ground pins and power supply 170

(5 V) pins. Ten ground pins are on the outside border while the signal and the supply pins are on the inside. The analog to digital connector ( G ) is connecting to the analog filter before going into the DSP. This connector is used for connecting the analog signals. The first and the last pins are the supply pins. Eight channels of the Analog signals are in the order from 0 to7. pin number 3 and 4 of port A can be configured to accept the signal for the quadrature encoder to measure the rotational speed or distance. The power drive connector ( E ) is the connector to connect with the power device. There are six channels of PWM signals, which can be combined to drive the three phase signals (with dead band). Two separated PWM signals can be used as the PWM signal generators or as the input/output pins. The last connector ( B ) contains the input only pin (BIO), output only pin (XF), watch dog control pin (CLKOUT). Two pins are dedicated for the CAN communication. There are two sets of I 2 C communications: (SDA0, SCL) and (SDA1, SCL). This I 2 C communication is software-oriented implementation. The general purposed digital Input/Output connector ( F ) is designed for handling the digital input or output signals. The first and the last pins are the supply. The eight input/output pins are from port A bit number 2 to bit number 5 and port C bit number 2 to bit number in the order. The The second group of connectors are: RS232 connector, I 2 C connector, CAN connector, and thermister connector. This connector is provided mainly for connecting with the external cable. Conclusion The TMS320F241 board is designed by the research team at Assumption University to use in the power electronics applications. This board is accommodated the need for the 171

laboratory used and for the industrial need. By adding the power devices and signal conditioning circuits, the power electronics applications can be accomplished easily. Appendix The following is a layout of the connection on the DSP boards. A is for the 6 to 15 V power supply to the board. C is the CAN connector. D is the RS232 compatible connector. H is the I 2 C connector and J is for connecting to the thermistor. A E. I. F B DSP K C G L D H.. J References Kamruing, C. 2001. Power Factor Correction Converter Fed Vector Controlled Induction Motor Drive. Master Thesis, Assumption University, Bangkok. Paothong, P. 2002. Speed Control of Permanent Magnet Brushless DC Motor Drive. Master Thesis, Assumption University, Bangkok. Threevithayanon, W. 2002. Design and Impelementation of Battery Energy Storage System, Master Thesis, Assumption University, Bangkok. Texas Instrument. 1998. TMS320F20x/F24x DSP Embedded Flash Memory Technical Reference. Texas, USA. Texas Instruments. 2000a. TMS320F243, TMS320F241 DSP Controllers. Texas, USA. Texas Instruments. 2000b. TMS320F243/F241/C242 DSP Controllers Reference Guide, System and Peripherals. Texas, USA. 172