AC Induction Motor (ACIM) Control using a Digital Signal Controller (DSC)

Similar documents
AN AT89C52 MICROCONTROLLER BASED HIGH RESOLUTION PWM CONTROLLER FOR 3-PHASE VOLTAGE SOURCE INVERTERS

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER

GS004. Driving an ACIM with the dspic DSC MCPWM Module INTRODUCTION MCPWM MODULE FILTERED BY THE MOTOR'S WINDINGS

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Low Cost Motor Control Family

AP XC866. Optimized Space Vector Modulation and Over-modulation with the XC866. Microcontrollers. Application Note, V 2.0, Sept.

Nicolò Antonante Kristian Bergaplass Mumba Collins

Design of double loop-locked system for brush-less DC motor based on DSP

dspic30f Quadrature Encoder Interface Module

Implementation of a Single Phase Z-Source Buck-Boost Matrix Converter using PWM Technique

A Digital Thyristor Trigger Control System based on DSP

Development of a Single-Phase PWM AC Controller

3-Ф VSI FOR HARMONIC IMPROVEMENT USING MICROCONTROLLER AND SIMULATION IN MATLAB

Lab 5 Timer Module PWM ReadMeFirst

AC Induction Motor Control with the dspic30f Microchip Technology Incorporated. All Rights Reserved. Slide 1

LM4: The timer unit of the MC9S12DP256B/C

Micro Controller Based Ac Power Controller

ARDUINO BASED SPWM THREE PHASE FULL BRIDGE INVERTER FOR VARIABLE SPEED DRIVE APPLICATION MUHAMAD AIMAN BIN MUHAMAD AZMI

Design of Low Cost Embedded Power Plant Relay Testing Unit

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

CHAPTER 4 HARDWARE DEVELOPMENT OF STATCOM

Implementation of Digital Signal Processor to Control Three-Phase Voltage-Source Inverter

Single Phase Inverter using PIC Controller

SCIENCE & TECHNOLOGY

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

Field Programmable Gate Array-Based Pulse-Width Modulation for Single Phase Active Power Filter

Generating DTMF Tones Using Z8 Encore! MCU

Speed Control on AC Induction Motor Using PWM Controlled Voltage Source Inverter

AP08022 C504 / C508. Generating sinusoidal 3-Phase- Currents for Induction Maschines with a time-optimezed algorithm for the Capture Compare Unit

Frequency Variable Three Phase Inverter Connected to PWM to Control the Induction Motor

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name

Speed Control of Induction Motor using Space Vector Modulation

A Complete Low-Cost Design and Analysis for Single and Multi-Phase AC Induction Motors Using an 8-Bit PIC16 Microcontroller

Design of Joint Controller Circuit for PA10 Robot Arm

Improving Loop-Gain Performance In Digital Power Supplies With Latest- Generation DSCs

SVPWM Rectifier-Inverter Nine Switch Topology for Three Phase UPS Applications

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

CHAPTER IV DESIGN AND ANALYSIS OF VARIOUS PWM TECHNIQUES FOR BUCK BOOST CONVERTER

Using the Z8 Encore! XP Timer

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

New model multilevel inverter using Nearest Level Control Technique

International Journal of Advance Engineering and Research Development

A Single Phase Power Factor Correction Using Programmable Interface Circuit

Using the HCS08 TPM Module In Motor Control Applications

INTRODUCTION. In the industrial applications, many three-phase loads require a. supply of Variable Voltage Variable Frequency (VVVF) using fast and

International Journal of Advance Engineering and Research Development. SVPWM Based VFD drive using 8- bit Microcontroller

XMEGA-Based Implementation of Four-Switch, Three-Phase Voltage Source Inverter-Fed Induction Motor Drive

Simulation and Analysis of Space Vector PWM Inverter Fed Three Phase Induction Motor Drive

Design and Fabrication of High Frequency Linear Function Generator with Digital Frequency Counter using MAX038 and a PIC microcontroller

Micro-controller Based Three-phase Voltage Source Inverter for Alternative Energy Source. Abstract

Single Phase Induction Motor Drive using Modified SEPIC Converter and Three Phase Inverter

DSP BASED SYSTEM FOR SYNCHRONOUS GENERATOR EXCITATION CONTROLL

EIE/ENE 334 Microprocessors

Low Cost Sine Wave Portable Inverter With Over Load Protection Using PIC18F452A

New Inverter Topology for Independent Control of Multiple Loads

A Three Phase Power Conversion Based on Single Phase and PV System Using Cockcraft-Walton Voltage

Three Phase Voltage Source Inverter for Harmonic Improvement using Microcontroller and Simulation in MATLAB

Peripheral Link Driver for ADSP In Embedded Control Application

FPGA IMPLEMENTATION OF SAMPLED SPACE VECTOR PULSE WIDTH MODULATION TECHNIQUE FOR TWO LEVEL INVERTER S. NAGESWARI 1 Dr.V.

Digital Power-Conversion for the Analog Engineer

ISSN Vol.05,Issue.01, January-2017, Pages:

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

Motor Control using NXP s LPC2900

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

CHAPTER 5 NOVEL CARRIER FUNCTION FOR FUNDAMENTAL FORTIFICATION IN VSI

CHAPTER 4 FIELD PROGRAMMABLE GATE ARRAY IMPLEMENTATION OF FIVE LEVEL CASCADED MULTILEVEL INVERTER

Power Quality Improvement Use of Different Pulse Width Modulation Techniques

Design of FPGA- Based SPWM Single Phase Full-Bridge Inverter

TMS320F241 DSP Boards for Power-electronics Applications

Microcontroller: Timers, ADC

Fuzzy logic control implementation in sensorless PM drive systems

International Journal of Emerging Researches in Engineering Science and Technology, Volume 1, Issue 2, December 14

Power Factor Correction in Digital World. Abstract. 1 Introduction. 3 Advantages of Digital PFC over traditional Analog PFC.

AN4507 Application note

Application Note, V1.0, Aug AP XC88x/XC878 Series. Microcontrollers

Using Z8 Encore! XP MCU for RMS Calculation

[Ahmed, 3(1): January, 2014] ISSN: Impact Factor: 1.852

LM12L Bit + Sign Data Acquisition System with Self-Calibration

The Design and Implementation of a Microcontroller-Based Single Phase On- Line Uninterrupted Power Supply With Power Factor Correction

Current Rebuilding Concept Applied to Boost CCM for PF Correction

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

Select the single most appropriate response for each question.

IJSER

Feed Forward Control of Induction Motor using AC Voltage Regulator

Section 35. Output Compare with Dedicated Timer

IMPLEMENTATION OF QALU BASED SPWM CONTROLLER THROUGH FPGA. This Chapter presents an implementation of area efficient SPWM

AVR443: Sensorbased control of three phase Brushless DC motor. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

Highly Integrated Inverter with Multiturn Encoder and Software-based PFC for Low Cost Applications

International Journal of Advance Engineering and Research Development

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory

CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL

International Journal of Modern Trends in Engineering and Research. Space Vector Modulation Based Feed Control Using Three Phase Induction Motor

Timer A (0 and 1) and PWM EE3376

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

Free Programmable Signal Processing inside a High Performance Servo Amplifier

AC : PERSONAL LAB HARDWARE: A SINE WAVE GENERATOR, LOGIC PULSE SIGNAL, AND PROGRAMMABLE SYNCHRONOUS SERIAL INTERFACE FOR ENHANCING EDUCATION

F²MC-8FX/16LX/16FX/FR FAMILY BLDC DRIVE WITH THE PPG

SVPWM Based Two Level VSI for Micro Grids

Sensorless PMSM Field-Oriented Control on Kinetis KV and KE

Transcription:

Research Journal of Applied Sciences, Engineering and Technology 4(19): 3740-3745, 2012 ISSN: 2040-7467 Maxwell Scientific Organization, 2012 Submitted: March 07, 2012 Accepted: March 30, 2012 Published: October 01, 2012 AC Induction Motor (ACIM) Control using a Digital Signal Controller (DSC) 1 D. Diarisso, 2 I. Ly, 3 G. Sow, 1 O. Sow, 1 I. Gaye, 1 F.I. Barro and 1 G. Sissoko 1 Faculty of Science and Technology, University Cheikh Anta Diop, BP 5005, Dakar-Fann, Senegal 2 Polytechnique School of Thies, EPT, Thies, Senegal 3 Superior School of Dakar, ESP, Sénégal Abstract: This study describes the use of a digital signal controller for an AC Induction Motor (ACIM) control through a three phase inverter. The main feature of the work is the simplicity of the hardware-only a 16 bit fixed point microcontroller with associated external conditioning integrated circuits. This lead to an extremely simple, low-cost and reliable system. A laboratory inverter prototype using a Microchip DSPIC33FJ128MC804 digital signal controller is developed and typical results are presented. Keywords: ACIM, Digital Signal Controller (DSC), Pulse Width Modulation (PWM) INTRODUCTION Pulse Width Modulation (PWM) techniques of various forms are available in the literature for the control of voltage, frequency and spectral response of three phase inverters (NEC, 2004; Zhou and Wang, 2002; Copeland et al., 1999). Microprocessors (:P), DSPs and µcontrollers are used for implementation of PWM schemes efficiently (NEC, 2004; Copeland et al., 1999; Salam and Salim, 2001). The PWM switching points are computed on-line and the PWM patterns are realized using the :P (or DSP), I/O interfaces and Programmable Timers (Microchip Technology Inc, 2009; Zambada and Microchip Technology Inc, 2005; Kumar et al., 2010; Swamy and Kumar, 2008). In this study, a Digital Signal Controller (DSC) is used to generate the Pulse Width Modulation (PWM) pulses for the control of an AC Induction Motor (ACIM) by a three-phase inverter (Kumar et al., 2010; Swamy and Kumar, 2008; Islam et al., 2004; Buso and Mattavelli, 2006). The used DSC will first be described, followed by the implementation of the PWM pulses; the resulting signals are then presented. MICROCHIP DSPIC33FJ128MC804 This study describes the use of Microchip DSPIC33FJ128MC804 to generate the Pulse Width Modulation (PWM) pulses for a three-phase inverter system. There are numerous internal peripherals and the details on this DSC can be found in (Microchip Technology Inc, 2009). The main peripheral that will be utilized in the waveform generation is the 6 channels PWM module also called Motor Control PWM module (MCPWM) which is briefly described. te that there are two Motor Control PWM modules noted MCPWMx. In the following, we refer only to MCPWM1 (Fig. 1) since MCPWM2 has just one pair of PWM channels. MCPWM1 can be divided into the following units (Zambada and Microchip Technology Inc, 2005): the 16 bit time base for all PWM channels, the duty generator and the dead time control for each PWM channel, the PWM override logic. Duty cycle generators create pulses that contain the preprogrammed duty cycle information. Dead-time units offset the pulses to prevent shoot through in driving the inverter transistors. PWM override logic allows the output signals to be modified based on fault conditions and/or program instructions. For example, an output signal from this block can be inverted if negative polarity is selected or can be forced to a programmed value in the OVDCON register. The DSPIC33FJ128MC804 allows the generation of six independent PWM signals; Fig. 2 illustrates the output of a centre aligned PWM. The width of the pulse is determined by the content of the pulse width register (PxDCy), where y denotes a particular PWM channel. In a centre-aligned PWM the value in the pulse width register effects both edges of the output signal symmetrically, whereas in the edge-aligned, one of the edges is fixed. The minimum pulse width depends on the resolution of the PWM period, PxTPER. For 40 MHz CPU clock and PxTPER value = 0x7FFE, the resolution Corresponding Author: D. Diarisso, Faculty of Science and Technology, University Cheikh Anta Diop, BP 5005, Dakar-Fann, Senegal 3740

Fig. 1: MCPWM block diagram Fig. 2: Center-aligned PWM time diagram Fig. 3: Scaling of sine wave table values for the duty cycle registers is 25 ns (Zambada and Microchip Technology Inc, 2005). The period of the pulse can be adjusted by changing the content of the pulse period register, PxTPER. The value in the PxTPER is related to the PWM frequency as: PxTPER = (f cy /f PWM -1):2 F PWM is the PWM switching frequency and F CY is the device operating frequency. IMPLEMENTATION OF THE PWM PULSES To generate the three phase outputs, sinusoidal data for a complete electrical cycle is provided in a 64-word table. The data is in 16-bit signed fractional format normalized to the range-1 to 1. A variable called Phase is used as a 16-bit pointer to the table with 0x0000 representing 0º and 0xFFFF representing 359.99º. At each PWM period interrupt (50 :s), the Delta_Phase variable is added to Phase. The value of Delta_Phase determines 3741

Fig. 4: Software flowchart RESET DsPIC33F128M C804 configuration Initialize I/O ports Initialize A/D Initialize system variables Initialize sine table Initialize CPU timer Cal setup code Start the timer, A/D Main loop code how fast the code moves through the sinusoidal data table and, as a result, sets the modulation frequency. The Delta_Phase variable is calculated as follows: After the Phase variable has been adjusted by Delta_Phase, two additional table pointers are calculated for the 2nd and 3rd motor phases by adding a constant offset to Phase. Assuming a 16-bit pointer, a value of 0x5555 provides a 120º offset and a value of 0xAAAA gives a 240º offset. Next, the three 16-bit pointers are right shifted by 10 to get the most significant 6 bits of information. Since we only have a 64-entry table, we only need a 6-bit pointer. Finally, the three-phase pointers are added to the base address of the sine wave table stored in program memory and the sine values are retrieved. w that we have the sine values, they need to be scaled for the desired modulation amplitude and PWM duty cycle range. First, the look-up values are multiplied by the value in the PTPER register to establish the amplitude. The PTPER value is then added to the amplitude to ensure that the resulting duty cycle value is positive. The Fig. 3 illustrates this scaling process. Since the duty cycle registers have twice the resolution compared to the PTPER register, a maximum value of 2xPTPER is required. Loop code ADC PWM Setup code Poll PWM interrupts flag Call ADC Call PWM End 1 Move sine pointer to sine table Add off set Phase 2? Yes Sine table has 64 entries the pointers are right shifted to get a 6 bit pointer value ADC result Right shift by 2bits Modulation frequency Left shift An7 and An12 Get 1.15 fractional data Mod. Amplitude frequency (V/HZ) gain Result to Wo Return Modulation Save off working register Initialize TBLpag and pointer register Table read Sine wave data Load constants and variables Load sine wave table pointer 0 120 offset? Yes Load amplitude scaling value Load PWM scaling value Load frequency constant Pointer adjustment code Configure I/O port and port to enable and reset power module Make Rd11output to derive PWM buffer Output enable Make Re9 on output and reset the power module Scan input 2 sample/convers per interrupt Tad = 2*Tcy All A/D pins an along mode Enable scan of An7 Enable scan of An12 Enable A/D interrupts flag Setup the PWM register Shift phase 1 pointer right 2 Add frequency value to sine pointer 1 5 Fig. 5: Software flowchart (continued) 3742

2 Get upper 6 bits Left shift by one Convert to byte address Shift the phase 3 pointer right Convert byte address Shift the phase pointer right Get upper 6 bits Left shift by one Pointer off each phase is added to the bas table pointer to get absolute table address for look From the table address for phase 1 Read look up value for phase 1 Multiply by the amplitude scaling Store scaled result Multiply by the PWM scaling factor Store scaled result 3 30% offset PWM duty cycle Code calculation the duty cycle for phase 2 From the table address for phase 2 Read look up value for phase 2 Multiply by the amplitude scaling Store the scaled result Multiply by the PWM scaling factor Store the scaling result Add the PWM scaling factor Produce 30% offset? PWM duty cycle 4 From the table address for phase 3 Read look up value for phase 3 Multiply by the amplitude scaling Store scaled result Multiply by the PWM scaling factor Store the scaled result Produce 30% offset Write PWM duty cycle Restore working registers Return S Complementary mode #1, #2, #3 Pairs are enabled 2usec deed time at7, 38 MIPS Setup the special event trigger for type ADC Setup the special event post scaller for 1:16 PWM time base enabled, center aligned mode Return Add PWM scaling factor 3 Calculation duty cycle for phase 3 4 Fig. 6: Software flowchart (continued) The ADC is enabled to scan the analog inputs AN7 and AN12, which are both connected to potentiometers on the experimental board; ADC conversions are triggered from the PWM module every 16 PWM cycles and the ADC interrupts the CPU after two sample/convert sequences. With this configuration, the ADC effectively samples AN7 and AN12 at a frequency of 500 Hz. The ReadADC subroutine is called at each ADC interrupt to read the conversion values and calculate the Voltage-Frequency (VF) profile. The potentiometer connected to AN7 sets the drive frequency. The 10-bit ADC result is right shifted by 2 and written to the Frequency variable. The frequency resolution is 0.244 Hz/bit, so the potentiometer can adjust the drive frequency up to 62 Hz with this scaling. The AN2 potentiometer is used to set the voltage-to-frequency ratio, which determines the slope of the VF profile. The VF profile has maximum slope with the potentiometer set to full value. The ADC results for AN7 and AN12 are left shifted to convert them to fractional values, which simplifies the mathematics. In fractional mathematics, 0x7FFF = 0.999. The two fractional values are multiplied using the fractional MPY instruction. The result of the multiply is a fractional value that can be used to scale the modulation voltage between 0 and 100%. This value is stored in the Amplitude variable. Together, the Frequency and Amplitude values specify the input parameters for the sine wave generation. The value of Amplitude is limited, so that overmodulation will not occur in the PWM modulation routine. In this application, the ADC and VF processing occurs at a 500-Hz rate to generate new voltage and frequency values. The software process can be described by the following flowchart (Fig. 4) which is more detailed in Fig. 5 to 7. The DSPIC33FJ128MC804 configuration bits are set before doing anything; the I/O ports, the system variables, 3743

Fig. 7: Generated PWM signals Fig. 8: Motor voltages the sine table are initialized and then the ADC module and the PWM module are configured. The ADC and PWM modules are started and the interruptions enabled before the main code begin. Figure 5 present the main loop code and both PWM and ADC routines and setup code; PWM and ADC routines are continued in Fig. 6. Experimental results: The obtained PWM signals are shown in Fig. 7 and the phase currents are presented in Fig. 8. CONCLUSION This work presented an implementation of sinusoidal control of an ACIM through three phase inverter with dspic33fj128mc804 Digital Signal Controller. The obtained line to line voltage and phase to neutral voltages are sinusoidal as expected with a 120º phase shift between phase voltages. The next stage is the implementation of vector control of an ACIM using the same Digital Signal Controller. The choice of the dspic33f family of Digital Signal Controllers is mainly guided by the fact that it is more powerful than simple :controllers due to its DSP unit and more cheaper than typical DSP. REFERENCES Buso, S. and P. Mattavelli, 2006. Digital Control in Power Electronics. Morgan and Claypool, San Rafal, Calif. Copeland, M., 1999. Infineon Technologies, AP0836 Application te: Space Vector Modulation and Overmodulation with an 8-bit Microcontroller. Islam, A.E., K.M. Rahman, M.A. Choudhury, S.J. Al- Kadry, M. Islam, S.M. Rahman and A.M. Rizwan, 2004. Low-cost implementation of high-resolution PWM scheme for adjustable speed drives. 3rd International Conference on Electrical and Computer Engineering (ICECE), Dhaka, Bangladesh, pp: 335-338. Kumar, K.V., A.M. Prawin, J.P. John and S.S. Kumar, 2010. Simulation and comparison of SPWM and SVPWM control for three phase inverter. ARPN J. Eng. Appl. Sci., 5(7): 61-74. 3744

Microchip Technology Inc., 2009. DS70291D, High- Performance, 16-bit Digital Signal Controllers. NEC, 2004. 78K0 Application te: An Introduction to Space Vector Modulation using NEC s 8-bit Motor Control Microcontrollers. NEC Corporation. Salam, Z. and K.M. Salim, 2001. Generation of Pulse Width Modulation (PWM) signals for three-phase inverter using a singlechip microcontroller. J. Teknologi., 34(D): 1-12. Swamy, R.L. and P.S. Kumar, 2008. Speed control of space vector modulated Inverter driven induction motor. Proceedings of the International Multi Conference of Engineers and Computer Scientists, II. Zambada, J. and Microchip Technology Inc., 2005. DS93004A, Driving an ACIM with the dspic DSC MCPWM Module. Zhou, K. and D. Wang, 2002. Relationship between space vector modulation and three phase carrier-based PWM: A comprehensive analysis. IEEE T. Indus. Electr., 49(1): 186-196. 3745