REALIZATION OF FPGA BASED Q-FORMAT ARITHMETIC LOGIC UNIT FOR POWER ELECTRONIC CONVERTER APPLICATIONS

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

DYNAMICALLY RECONFIGURABLE PWM CONTROLLER FOR THREE PHASE VOLTAGE SOURCE INVERTERS. In this Chapter the SPWM and SVPWM controllers are designed and

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

CHAPTER 5 NOVEL CARRIER FUNCTION FOR FUNDAMENTAL FORTIFICATION IN VSI

FPGA Implementation of Wallace Tree Multiplier using CSLA / CLA

Synthesis and Simulation of Floating Point Multipliers Dr. P. N. Jain 1, Dr. A.J. Patil 2, M. Y. Thakre 3

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

Tirupur, Tamilnadu, India 1 2

International Journal of Scientific & Engineering Research Volume 3, Issue 12, December ISSN

CHAPTER 5 CONTROL SYSTEM DESIGN FOR UPFC

Design of Roba Mutiplier Using Booth Signed Multiplier and Brent Kung Adder

An Optimized Design for Parallel MAC based on Radix-4 MBA

S.Nagaraj 1, R.Mallikarjuna Reddy 2

AREA EFFICIENT DISTRIBUTED ARITHMETIC DISCRETE COSINE TRANSFORM USING MODIFIED WALLACE TREE MULTIPLIER

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) STUDY ON COMPARISON OF VARIOUS MULTIPLIERS

Implementation of Parallel Multiplier-Accumulator using Radix- 2 Modified Booth Algorithm and SPST

DESIGN OF LOW POWER MULTIPLIERS

Design and Implementation of High Speed Carry Select Adder Korrapatti Mohammed Ghouse 1 K.Bala. 2

Research Article Design of a Novel Optimized MAC Unit using Modified Fault Tolerant Vedic Multiplier

Digital Integrated CircuitDesign

DESIGN OF LOW POWER HIGH SPEED ERROR TOLERANT ADDERS USING FPGA

IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA

CHAPTER 4 ANALYSIS OF LOW POWER, AREA EFFICIENT AND HIGH SPEED MULTIPLIER TOPOLOGIES

CHAPTER 6 IMPLEMENTATION OF FPGA BASED CASCADED MULTILEVEL INVERTER

Design of an optimized multiplier based on approximation logic

An Optimized Implementation of CSLA and CLLA for 32-bit Unsigned Multiplier Using Verilog

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

Cyclone II Filtering Lab

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER

Design of Efficient 64 Bit Mac Unit Using Vedic Multiplier

Implementation of Booths Algorithm i.e Multiplication of Two 16 Bit Signed Numbers using VHDL and Concept of Pipelining

Design and synthesis of FPGA for speed control of induction motor

A Fixed-Width Modified Baugh-Wooley Multiplier Using Verilog

Modified Booth Multiplier Based Low-Cost FIR Filter Design Shelja Jose, Shereena Mytheen

Stratix Filtering Reference Design

SIGNED PIPELINED MULTIPLIER USING HIGH SPEED COMPRESSORS

JDT LOW POWER FIR FILTER ARCHITECTURE USING ACCUMULATOR BASED RADIX-2 MULTIPLIER

An area optimized FIR Digital filter using DA Algorithm based on FPGA

A New High Speed Low Power Performance of 8- Bit Parallel Multiplier-Accumulator Using Modified Radix-2 Booth Encoded Algorithm

Implementation of 32-Bit Unsigned Multiplier Using CLAA and CSLA

Mahendra Engineering College, Namakkal, Tamilnadu, India.

DESIGN OF LOW POWER / HIGH SPEED MULTIPLIER USING SPURIOUS POWER SUPPRESSION TECHNIQUE (SPST)

An Efficient Baugh-WooleyArchitecture forbothsigned & Unsigned Multiplication

FPGA Implementation of Adaptive Noise Canceller

Implementing Multipliers with Actel FPGAs

Reduced Complexity Wallace Tree Mulplier and Enhanced Carry Look-Ahead Adder for Digital FIR Filter

Ultrasonic Positioning System EDA385 Embedded Systems Design Advanced Course

Fpga Implementation of Truncated Multiplier Using Reversible Logic Gates

Performance Evaluation of a Neural Network based General Purpose Space Vector Modulator

Stratix II Filtering Lab

Design and Simulation of 16x16 Hybrid Multiplier based on Modified Booth algorithm and Wallace tree Structure

Design of Multiplier Less 32 Tap FIR Filter using VHDL

International Journal of Modern Engineering and Research Technology

Abstract. 1. Introduction. Department of Electronics and Communication Engineering Coimbatore Institute of Engineering and Technology

Implementation and Performance Evaluation of Prefix Adders uing FPGAs

ECE6332 VLSI Eric Zhang & Xinfei Guo Design Review

Design of FIR Filter on FPGAs using IP cores

FIR Filter Design on Chip Using VHDL

Optimum Analysis of ALU Processor by using UT Technique

Performance Analysis of a 64-bit signed Multiplier with a Carry Select Adder Using VHDL

Single Chip FPGA Based Realization of Arbitrary Waveform Generator using Rademacher and Walsh Functions

CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE

Implementation and Comparison of Low Pass FIR Filter on FPGA Using Different Techniques

Design and Implementation of High Speed Carry Select Adder

CARRY SAVE COMMON MULTIPLICAND MONTGOMERY FOR RSA CRYPTOSYSTEM

A HARDWARE DC MOTOR EMULATOR VAGNER S. ROSA 1, VITOR I. GERVINI 2, SEBASTIÃO C. P. GOMES 3, SERGIO BAMPI 4

FINITE IMPULSE RESPONSE (FIR) FILTER

Simulation and Experimental Based Four Switch Three Phase Inverter Fed Induction Motor Drive

EFFICIENT FPGA IMPLEMENTATION OF 2 ND ORDER DIGITAL CONTROLLERS USING MATLAB/SIMULINK

Area Power and Delay Efficient Carry Select Adder (CSLA) Using Bit Excess Technique

VLSI IMPLEMENTATION OF MODIFIED DISTRIBUTED ARITHMETIC BASED LOW POWER AND HIGH PERFORMANCE DIGITAL FIR FILTER Dr. S.Satheeskumaran 1 K.

CHAPTER 1 INTRODUCTION

32-Bit CMOS Comparator Using a Zero Detector

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

354 Facta Universitatis ser.: Elec. and Energ. vol. 13, No.3, December 2000 in the audio frequency band. There are many reasons for moving towards a c

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Comparative Analysis of Various Adders using VHDL

DESIGN OF A HIGH SPEED MULTIPLIER BY USING ANCIENT VEDIC MATHEMATICS APPROACH FOR DIGITAL ARITHMETIC

FOR HIGH SPEED LOW POWER APPLICATIONS USING RADIX-4 MODIFIED BOOTH ENCODER

Review of Booth Algorithm for Design of Multiplier

Implementation and Performance Analysis of different Multipliers

An Optimized Design of High-Speed and Energy- Efficient Carry Skip Adder with Variable Latency Extension

Design and Implementation of Scalable Micro Programmed Fir Filter Using Wallace Tree and Birecoder

DESIGN OF INTELLIGENT PID CONTROLLER BASED ON PARTICLE SWARM OPTIMIZATION IN FPGA

Design and Simulation of Convolution Using Booth Encoded Wallace Tree Multiplier

Performance Analysis of an Efficient Reconfigurable Multiplier for Multirate Systems

FPGA Implementation of Multiplication and Accumulation Unit using Vedic Multiplier and Parallel Prefix adders in SPARTAN 3E

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

Optimized high performance multiplier using Vedic mathematics

Block Diagram. i_in. q_in (optional) clk. 0 < seed < use both ports i_in and q_in

NOWADAYS, many Digital Signal Processing (DSP) applications,

DESIGN OF HIGH SPEED 32 BIT UNSIGNED MULTIPLIER USING CLAA AND CSLA

FIR_NTAP_MUX. N-Channel Multiplexed FIR Filter Rev Key Design Features. Block Diagram. Applications. Pin-out Description. Generic Parameters

Study on Digital Multiplier Architecture Using Square Law and Divide-Conquer Method

ABSTRACT. Introduction

High Performance Vedic Multiplier Using Han- Carlson Adder

Mohd Ahmer, Mohammad Haris Bin Anwar and Amsal Subhan ijesird, Vol. I (XI) May 2015/422

FPGA Implementation of a Digital Tachometer with Input Filtering

FPGA-Based Digital Filters Using Bit-Serial Arithmetic

International Journal of Advance Engineering and Research Development

Transcription:

17 Chapter 2 REALIZATION OF FPGA BASED Q-FORMAT ARITHMETIC LOGIC UNIT FOR POWER ELECTRONIC CONVERTER APPLICATIONS In this chapter, analysis of FPGA resource utilization using QALU, and is compared with the existing implementations of integer fixed point format for data representation is presented. The analysis is carried out through simulation of QALU using ModelSim 5.7 and synthesis using Xilinx 9.2i. Further, it also includes the validation of possibility of single chip implementation in FPGA for generating PWM pulses using VSI fed induction motor. 2.1. Introduction The power electronic converter control realization using Q-Format through FPGA requires the following concepts: i. Digital data representation using fixed point formats [129-130]. ii. FPGAs and the developments tools [131-139]. In the hardware implementation point of view, fixed point representations have been used in the computation which yields the simple hardware, there by the area as well as cost of FPGA is reduced. Due to the flexibility of simple hardware, the fixed point processors are commonly used in applications where the accuracy is not a constraint. In such applications, the designer has to use the proper signal processing to achieve the required accuracy.

18 The signal processing is a key issue in the performance of a digital system. In the existing FPGA based PWM implementation, integer fixed point format is used in the signal processing which requires an additional processor to implement the arithmetic functions [64-70]. Therefore, an efficient VLSI signal processing is necessary to improve the performances of FPGA in terms of resource utilizations, reduction of hardware cost and improved accuracy through single chip solution. To overcome the above limitation, an alternate solution, called QALU using Q-Format representation has been implemented [28-32, 95,107,129-131]. The preliminary concepts like FPGA architecture [126-128], resources and its domain use [5], development tools [132-137], and design flow [138-139] are discussed in the literature. 2.2. Digital Data Representation by different Formats The binary representations of numbers used in digital systems are sign magnitude, one s compliment, and two s compliment. In general, 2 s compliment data representation is used in processors and it is an efficient way of representing signed numbers [121-122]. The most commonly used type of data formats are: (i) Fixed Point Representation (FXPR) [129-130], and (ii) Floating Point Representation (FLPR) [34]. In case of fixed point processors, the application specific functions are performed and the final result is stored in accumulator every time at the end of each arithmetic operation. At last, the Most Significant Bit (MSB) of accumulator is left shifted by one and is given as an output. In FPGA

19 based implementations, integer fixed point is commonly used for data representation [27-54, 64-70], whereas FLPR is used in few FPGA based applications [33]. The FXPR and arithmetic computation is described in [130]. The arithmetic calculations for the equation (α β) + are presented for fixed point format with integer part (Qm), fixed point format with fractional part (Qn) and fixed point format with integer + fractional part (Qm.n) in [26,130] and the corresponding error is shown in Table 2.1. The procedure is presented in Appendix-1. Table 2.1. Error in arithmetic computation using different formats Type of data representation error (8 bit arithmetic operation Fixed point format with integer part (Qm) 0.34975 Fixed point format with fractional part (Qn) 0.20525 Fixed point format with integer and fractional part (Qm+Qn) -0.02525 In general, the fixed point format data are scaled to integer number, after completion of arithmetic computation, the Least Significant Bit (LSB) in the result is truncated. The MSB is taken as the final result. In case of integer fixed point format Qm, all 16 bit will give the correct result. Therefore, the entire result (both MSB and LSB) has to be stored in memory and considered for the successive computation. Hence, this kind of representation takes more FPGA resources for an acceptable accuracy and also this is not suitable for single chip implementations. In fractional fixed Qn point and Qm.n arithmetic functions, the accuracy of

20 final the result is not affected even after truncation of LSB. Finally, Qn and Qm.n representation need one WL and Qm needs two WLs which results, increased in FPGA resource utilization. 2.2.1. Error and Area Analysis in Q-Format Representation In Table 2.1, the error in 8 bit arithmetic computation in fixed point formats, compared with floating point format is shown. From the analysis, Q-Format arithmetic gives improved accuracy in arithmetic computation compared to traditional fixed integer and fractional arithmetic. In 16 bit format with proper scaling, the error is still reduced to negligible level. Therefore, the fixed point representation Qm+Qn (Q- Format) is used to implement PEC control algorithm in a single FPGA. In integer multiplication, the multiplication of two 8 bit data will give result in 16 bit. Therefore a 16 bit register is needed to store the result where as in fractional / Qm.n Format with proper scaling, the result is in 8 bit format and therefore, it needs only an 8 bit register to store the results. Hence, the Qm.n Format based signal processing will reduce the FPGA resource or area utilization [28-32, 95, 107]. 2.2.2. Advantages of Q- Format Representation Arithmetic computations using Q-Format representation in FPGA gives the following advantages: i. Occupies less FPGA resources i.e. less area in the chip [28-32, 95, 107].

21 ii. From the analysis of multiplication, the Q-Format gives improved accuracy for the same number of bits in integer approximation and fixed fractional Format. In FPGA implementation, Q-Format with representation and proper dynamic range gives improved accuracy [28-32, 95, 107]. iii. Multiplications of two 8 bit numbers with proper scaling requires one 8 bit register to store the result [29, 95], whereas, in integer format it requires a 16 bit register which results in increased FPGA area for arithmetic operations. 2.3. Realization of Q-Format ALU in FPGA In most of FPGA based PEC control implementations, FXPR is used to compute a part of algorithm while the major computation carried by a DSP. In this Thesis, fixed point implementation with both integer and fractional part Qm.n is considered to implement PWM algorithm in a single chip. The data is converted to its equivalent Q- Format in the representation as well in arithmetic calculations. This computation is carried out by QALU which consists of arithmetic computation functions such as adder, subtractor and multiplier. The QALU is developed as a library function and it is included in the project directory using the reported literature [28, 95, 107]. The block diagram and the functional flow of QALU is shown in Fig. 2.1 and Fig. 2.2 respectively. The functional flow for addition and its pseudo code are shown in Fig. 2.3 and Fig. 2.4 respectively.

22 QADD/QSUB QSQRT QMULT QALU CONTROLLER QDIVIDE QSQR QMOD Fig. 2. 1. Functional block diagram of QALU Start Find the length of the integer part Find the length of the fractional part Represent the number in Q m.n format Stop Fig. 2. 2. Functional flow of QALU

23 Start Read the numbers Is both the numbers are in same Qm.n format No Yes Shift and sign extend to align the decimal places Perform signed addition Setting overflow bit if any overflow occurs Stop Fig. 2. 3. Functional flow chart of Addition in QALU Pseudo code: Functional unit name: QADD Input: two numbers Output: addition result of two numbers Steps: 1. Convert the given tow numbers into Qm.n format 2. If both the numbers are in same Qm.n format then perform the signed addition else Shift and sign extend to align the decimal places. 3. Setting the overflow bit, if any overflow occurs End Fig. 2.4. Pseudo code for addition in QALU

24 2.3.1. Q-Format multiplication Since multiplication plays a major role in arithmetic computations, its basics are discussed in this section and the detailed explanation is given in Appendix- I. Signal processing in fractional form has the specific properties. The multiplication of data in the range of -0.999 to +0.999, the resultant product will not have overflow. The common way for lowering the operand is called scaling, i.e. operand is divided by the adequate constant [29, 95]. The functional flow for multiplication and its pseudo code are shown in Fig. 2.5 and Fig. 2.6 respectively Start Read the numbers Perform signed multiplication Integer Part: QI product=qi multiplier + QI multiplicand Fractional Part: QF product=qf multiplier + QF multiplicand Adjust the resultant Qm.n format to the requirement Stop Fig. 2.5. Functional flow chart of Multiplication in QALU

25 Pseudo code: Functional unit name: QMULT Input: two numbers Output: multiplication of two numbers Steps: 1. Convert the given tow numbers into Qm.n format 2. Perform the signed multiplication 3. Adjust the resultant Qm.n format according to the requirement(either 16/32-bit) End Fig. 2.6. Pseudo code for multiplication in QALU 2.3.2. Simulation Results of QALU The proposed QALU using Q-Format and its application to power electronic converter control has been simulated using ModelSim 5.7 and implemented using Xilinx 9.2i. The Q-Format data representation and the arithmetic operations of addition and multiplication has been developed and simulated. The simulation results for addition and multiplication using integer fixed and Q-Format has been obtained for unsigned and signed data inputs. The Q-Format implementation has been validated by the simulation and implementation of an arithmetic operation (multiplication). The implementation report of multiplication using integer fixed arithmetic and Q-format is shown in Table 2. 2 and Table 2. 3 respectively. The simulation result for multiplication is shown in Fig. 2. 7.

26 Table 2. 2. Implementation report of multiplication using integer fixed arithmetic Logic Utilization Used Available Utilization Number of 4 input LUTs 94 4, 896 2% Number of occupied Slices 50 2, 448 2% Number of Slices containing only related logic 50 50 100% Total Number of 4 input LUTs 96 4, 896 2% Number of bonded IOBs 64 158 40% Number of MULT18X18SIOs 3 12 25% Total equivalent gate count for design 975 Table 2. 3. Implementation report of multiplication using Q-Format arithmetic Logic Utilization Used Available Utilization Number of 4 input LUTs 30 4, 896 <1% Number of occupied Slices 16 2, 448 <1% Number of Slices containing only related logic 16 16 100% Total Number of 4 input LUTs 30 4, 896 <1% Number of bonded IOBs 64 158 40% Number of MULT18X18SIOs 3 12 25% Total equivalent gate count for design 348 Fig. 2. 7. Simulation Results of Integer fixed point and Q-format multiplication

27 From the simulations and synthesis report, the multiplication of two unsigned data 0.25 and 0.75 is 0.1875 which is the actual result. From the results shown in Fig. 2.31, the result achieved using Q- Format is 0.1875 which is the actual result. For the same data the result achieved from integer fixed point format is 0D00H. The actual result evaluated by the digital controller is 0.203125. In Q- Format, the result is 0.1875. In integer fixed point format, the result is 0.203125. The error is evaluate as 0.1875-0.203125 = -0.015625 (-1.56% for one multiplication operation) This procedure utilizes more resources in the FPGA. 2.4. Realization of QALU based PWM control through FPGA In order to analyze resource utilization in FPGA and to validate the possibility of single chip implementation of PWM, QALU based SVPWM is simulation using ModelSim 5.7 and synthesis using Xilinx 9.2i are considered. The practical feasibility of QALU for PEC control is verified by applying to SVPWM generation. The SVPWM patterns have been obtained for different fs and fo. The result for SVPWM pulse patterns in 6 sectors with fs=20 khz is shown in Fig. 2.8. The SVPWM patterns have been generated using the proposed Q-Format based signal processing.

28 Fig. 2. 8. SVPWM waveforms in 6 sector with f s =20 khz 2.4.1. Experimental Results The Experimental setup for QALU based SVPWM controller fed three phase VSI is shown in Fig. 2.9. The experimentation has been carried out with the FPGA hardware SPARTAN XC3S400PQ208 from Xilinx. Inc. The hardware setup consists of FPGA, three phase bridge inverter with IGBTs, bridge rectifier to supply DC voltage, opto isolator, pulse driver and induction motor. In the experiments, the fo has been varied from 0.3 Hz to 50 Hz and the fs is varied from 1 khz to 15 khz, and the PWM switching patterns are achieved. The results for PWM output in the different channels are obtained and the PWM patterns in the channels P1-P4 are shown in the Fig. 2. 10. The three phase inverter output wave forms with varying fo of 15 Hz to 50 Hz and 1.157 khz to 12.28 khz varying fs is obtained. The result of the inverter output line to line voltage is shown in Fig. 2. 11.

29 FPGA Induction motor Power module Driver circuit Fig. 2.9. Experimental setup of the Q-Format ALU applied to FPGA- SVPWM controller fed induction motor 5 V / div Pulse P1 Pulse P4 25 ms /div Fig. 2. 10. SVPWM wave form in channels P1 and P4 with f s =1.157 khz Displacement between two voltage waves 50 V / div 20 ms / div Fig. 2. 11. Inverter output voltage, U Y-B and U B-R Line to line voltage: f 0 = 20 Hz, f s =12.28 khz

30 2.4.2. Discussions The existing PWM control in power electronic converters is implemented using DSP and FPGA technologies. In the conventional PWM control implementations, the integer fixed point based signal processing is used which takes more FPGA resources for a processing a part of algorithm and also it requires an additional controller. The first feature of QALU is, it performs the arithmetic computations in the algorithm, and it is possible to implement the PWM controller in a single FPGA. And also the host processor such as DSP is not required. Therefore, the system complexity is reduced. From the simulation and experiments, the practical possibility of QALU applied to a PEC control is verified. The results show that the Q- Format implementation takes total gate count of 348 and integer fixed format implementation takes 975. The Q-Format takes less chip resources and due to this feature the speed of execution will also be increased. The simulation result for 8 bit multiplication using Q-format and integer fixed point format is presented in Fig. 2. 7. It is proved that, the error in Q-format based operation is zero and in integer fixed point format, it is -1.56%. Therefore, the accuracy has been increased by Q- Format when compared to integer fixed format. The PWM modulator with QALU is implemented and the possibility of practical implementation is verified.

31 2.5. Conclusion The preliminary requirements to implement the QALU design such as digital data representation in different data formats and their arithmetic computation has been discussed. The advantages of QALU are verified with simulation and synthesis. The QALU is designed and developed using VHDL which performs the arithmetic and logic functions in the algorithm. To facilitate the digital implementation of QALU, the single chip FPGA implementation has been developed. By employing the QALU, the algorithm accuracy has been improved as well as the FPGA resource utilization is tremendously reduced. Due to this superiority, the IP core designed on FPGA requires less resource and provides improved accuracy in single chip FPGA implementation compared to conventional integer fixed point for signal processing. The proposed signal processing concept and QALU can be used for PEC control applications to generate the accurate PWM pattern in real time. Moreover, the proposed signal processing method is more suitable for single chip FPGA and SoC implementations. The main objectives such as implementation of entire PWM control in a single FPGA and area efficient digital PWM control is verified.