Anda di halaman 1dari 6

Implementation of modulation techniques on

TMS320F28379D Launchpad using the BOOSTXL-


DRV8305EVM
Asma Boulmane* Youssef Zidani Driss Belkhayat
Electrical Systems and Electrical Systems and Electrical Systems and
Telecommunication Laboratory Telecommunication Laboratory Telecommunication Laboratory
Cadi Ayyad University Cadi Ayyad University Cadi Ayyad University
Marrakesh, Morocco Marrakesh, Morocco Marrakesh, Morocco
dbelkhayat@gmail.com
asma.boulmane@gmail.com zidani@yahoo.com

Abstract— The mastery of power electronics and the low which became the basic modulation in most of the power
cost of components has given rise to several new typologies of converters application due to harmonic reduction and wide
DC/AC inverters that are introduced into the industry. Thus linear modulation range for the output voltage[2]. It’s based
the development of modulation techniques has become
on producing the switching pulses by using a switching
necessary for a better use. However, each technique has her
own characteristics. pattern by applying a sequence of vectors.
In this paper, different techniques will be presented
especially the Sinusoidal Pulse Width Modulation (SPWM), the II. Voltage Source Inverter and
third Harmonic Injected PWM reference signal and the Space
Vector Modulation (SVM). The simulation and Modulation principle
implementation of those techniques for a three-phase two-level
VSI will be presented and a frequency analysis will be detailed. The conventional three-phase two-level VSI shown in
Fig. 1 can generate voltages 0 and +Vdc in the phase voltages
The test bench used in this study involves the VaN, VbN and VcN.
TMS320F28379D Launchpad and the low voltage inverter
BOOSTXL-DRV8305EVM.
Index Terms—VSI, Modulation, SPWM, SVM, DSP,
TMS320F28379D.

I. Introduction
Due to the high efficiency, robustness and economical
cost and possibility to reach high nominal power with
reduced passive filters, the voltage source inverters (VSI) are
used to power a wide variety of applications in industries. [1]
Fig. 1. Conventional three phase two level VSI
The diversity of industrial applications has given rise to a
The output voltages depend on the states of the switches
variety of types of inverters. Thus, several modulation
of each arm. This is controlled by different ways of
techniques have been developed to improve the efficiency
modulation techniques.
and performance of these three-phase inverters to control any
kind of system as complex as it is.
A. Sinusoidal Pulse Width Modulation
The most demanding requirements for these techniques
are: additional voltage space vectors and different switching The simple way to generate a phase voltage using PWM
harmonics.[1] is by comparing the reference voltage with a higher
A modulation technique consist in generating a desired frequency carrier (usually triangular). The fundamental-
reference waveform with minimum distortion in the low- frequency component in the output voltage can be adjusted
order harmonics moving the unavoidable distortion to the by changing the amplitude of the modulation index ma,
high-order harmonics making easier the filtering process. [1] which defined as a ration between the amplitudes of the
Several modulation techniques are developed. The PWM modulating waves Vm and the carrier Vcr. The frequency
still the simplest and easiest way to generate the switching modulation index mf is defined as the ratio between the
pulses by determination of natural intersections between the frequencies of the carrier fcr and modulating waves fm.[3]
reference voltage and the carrier signal. However, there is
another technique the Space Vector Modulation (SVM)

00978-1-5386-7328-7/18/$31.00 ©2018 IEEE


In order to favor the intersections between the carrier and
the modulating waves, the third harmonic is injected into the
III. Hardware design
modulating signal as shown in Fig. 2. The experimental bench involves a control part witch
Thus the reference signal is given by: based on Texas instrument DSP TMS320F28379D
Launchpad and power part witch done by the low voltage
inverter BOOSTXL-DRV8305EVM.
 Vm = Vm*(sin(2πfmt)+r*sin(2π*3fmt))  
A. TMS320F28379D Launchpad
The coefficient r should be chosen between 0.15 and
0.2. [4] [5] TMS320F28379D is a dual-core MCU design based on
the TI 32-bit C28x CPU architecture. Each core can access to
its own local RAM, flash memory and shared RAM memory.
The Inter-Processor Communications (IPC) module ensure
the sharing information between the two CPU. Each CPU is
running at 200 MHz. [6]
1) Board components
a) General-Purpose Input/output (GPIO) Structure
The F28379D device integrates a multiplexing scheme to
enable each I/O pin to be configured as a GPIO pin or one of
several peripheral I/O signals. Sharing a pin across multiple
functions maximizes application flexibility while minimizing
package size and cost. [7][8]
b) Analog-to-Digital Converter (ADC)
The F28379D includes four independent high-
Fig. 2. Modulating and carrier waves performance ADC modules with a configurable resolution of
either 16-bits or 12-bits. [6][7][8]
B. Space Vector Modulation
The space vector modulation (SVM) is built on the c) Buffered Digital-to-Analog Converter (DAC)
vectorial representation of the VSI switching states in the The F28379D includes three buffered 12-bit DAC
well-known DE frame. It is based on calculating a sequence modules. Values written to the DAC can take effect
of switching states to be applied during the sampling period. immediately or be synchronized with ePWM events. [6]
The state of a switch is considered as a logic variable
which can take 0 (switch open) or 1 (switch closed). While
d) Enhanced Pulse Width Modulator (ePWM) Module
keeping the condition that two switches of the same arm are The F28379D ePWM modules are highly programmable,
complementary, there are six switching states of vectors extremely flexible, and easy to use, while being capable of
(V1…V6) and two inactive vectors (or freewheeling) generating complex pulse width waveforms with minimal
(V0(0,0,0) et V7(1,1,1)). Fig. 3 shows the different states. CPU overhead or intervention. Each ePWM module is
identical with two PWM outputs, EPWMxA and EPWMxB,
and multiple modules can synchronized to operate together
as required by the system application design. [6]
e) Enhanced Quadrature Encoder Pulse (eQEP)
Module
The eQEP module interfaces with a linear or rotary
incremental encoder for determining position, direction, and
speed information from a rotating machine that is typically
found in high-performance motion and position-control
systems.[6]

B. The low voltage inverter BOOSTXL-DRV8305EVM


The BOOSTXL-DRV8305EVM (shown in Fig. 4) is a
15A, 3-phase brushless DC drive stage based on the
Fig. 3. Vector representation of the voltages generated for inverter control. DRV8305 motor gate driver and power MOSFET. The
module has individual DC bus and phase voltage sense as
well as individual low-side current shunt sense for sensorless
BLDC algorithms. The module supplies MCU 3.3V power
with the LMR16006 0.6A step down buck regulator. The
drive stage is fully protected with short circuit, thermal,
shoot-through, and under voltage protection and easily
configurable via a SPI interface.[9]

Fig. 6. Modulating and carrier waves/Switch control (HSPWM)

Fig. 4. The Pinout of the low voltage inverter [10]

IV. Simulation results


A. Simulations
In this part, the simulations of the three techniques
(SPWM, HSPWM and SVM) applied to a three phase VSI
using resistive and inductive three phase load will be
presented.
Fig. 5 and Fig. 6 show the modulating signal, the carrier
and switch statement for both techniques SPWM and
HSPWM.
Fig. 7 presents the dwell times T1 and T2, sectors and
angle using the SVM technique.
Fig. 7. Dwell times, Sector and Angle (SVM)

B. Analysis and discussion


Fig. 8 shows the waveform and the FFT of the output
voltage using the SVM technique.
The waveform of the current and its FFT for the SVM
technique are shown in Fig. 9.
The results of the spectrum analysis of the currents and
the output voltages of the three modulation techniques are
summarized in the TABLE I.

Fig. 5. Modulating and carrier waves/Switch control (SPWM)


pushed to the highest frequencies which facilitates the signal
filtration.

V.Implementation of the
modulation techniques
As mentioned before, the three modulation techniques
will be implemented using the TMS320F28379D controller.
Thus a configuration of the generated PWM signals is
needed.
Each arm of the inverter is controlled by two
complementary signals. The ePWM module allowed
configuring one signal and its invers. The configuration
chosen is based on the Fig. 10.

Fig. 8. The SVM waveform of the output voltage and its FFT

Fig. 10. Configuration of ePWMA

Thus, the experimental bench is detailed in the Fig. 11.

Fig. 9. Current waveform and its FFT (SVM)

TABLE I. FFT COMPARISON OF CURRENT AND OUTPUT VOLTAGE

Modulation techniques
SPWM HSPWM SVM
Fundamental 11.62 V 12.72 V 11.94 V Fig. 11. Experimental bench
Output
Voltages THD 72.01 % 62.11 % 68.66 % A. Sinusoidal Pulse Width Modulation
Fundamental 0.14 A 0.16 A 0.15 A Fig. 12 present the waveforms of the output voltage and
Current
THD 12.69 % 12.63 % 10.50 % the current using the SPWM technique.
Fig. 13 and Fig. 14 show respectively the FFT of the
From the simulations carried out, it is clear that the output voltage and the current.
interspecific SPWM despite its ease of implementation
remains slightly poor compared to other techniques.
However, a simple injection of the third harmonic into the
reference signal is able to improve its response by increasing
the amplitudes of the current and voltage basics and
decreasing their THD. The SVM allows the harmonics to be
Fig. 12. Output Voltage and Current (SPWM) Fig. 15. Output Voltage and Current (HSPWM)

Fig. 13. FFT of the Output Voltage (SPWM) Fig. 16. FFT of the Output Voltage (HSPWM)

Fig. 14. FFT of the current (SPWM) Fig. 17. FFT of the current (HSPWM)

B. Third Harmonic Injection Pulse Width Modulation C. Space Vector Modulation


By using the third harmonic injection PWM, the The waveforms of the output voltage and the current of
waveforms of the voltage and current are shown in Fig. 15 the SVM implementation are presented in Fig. 18 and their
while their FFT are presented respectively in Fig. 16 and Fig. FFT shown respectively in Fig. 19 and Fig. 20.
17.
References
[1] J. I. Leon, S. Kouro, L. G. Franquelo, J. Rodriguez, and B. Wu,
“The Essential Role and the Continuous Evolution of Modulation
Techniques for Voltage Source Inverters in Past , Present and
Future Power Electronics,” IEEE Trans. Ind. Electron., vol. 46,
no. c, 2016.
[2] F. N. Al Mansoori, “Efficient Digital Implementation of Space
Vector Modulation for Three-Level NPC Converters Used in
Wind Energy Conversion Systems,” 2018 Adv. Sci. Eng. Technol.
Int. Conf., pp. 1–5, 2018.
[3] B. Wu, High-power converters and {AC} drives. 2006.
[4] W. Subsingha, “A Comparative Study of Sinusoidal PWM and
Third Harmonic Injected PWM Reference Signal on Five Level
Diode Clamp Inverter,” Energy Procedia, vol. 89, pp. 137–148,
2016.
Fig. 18. Output Voltage and Current (SVM) [5] C. Gombert and C. G. Simulation, “Simulation temps-réel des
dispositifs d’Electronique de Puissance dédiés aux réseaux
d’énergie électrique,” 2005.
[6] K. W. Schachter and C. Technical, The TMS320F2837xD
Architecture : Achieving a New Level of High Performance, no.
February. 2016.
[7] Texas Instruments Inc., “TMS320F2837xD Dual-Core Delfino TM
Microcontrollers,” 2017.
[8] Texas Instruments Inc., “LAUNCHXL-F28379D Overview.
User’s Guide,” no. August, p. 20, 2017.
[9] Texas Instruments Inc., “DRV8305N 3-Phase Motor Drive
BoosterPack Evaluation Module.” [Online]. Available:
http://www.ti.com/tool/BOOSTXL-DRV8305EVM. [Accessed:
18-Jul-2018].
[10] Texas Instruments Inc., “BOOSTXL-DRV8305EVM User ’ s
Guide,” no. August, 2015.

Fig. 19. FFT of the Output Voltage (SVM)

Fig. 20. FFT of the Current (SVM)

VI. Conclusion
In this paper, the simulations and implementation of three
techniques of modulation were presented. Using the MCU
TMS320F28379D Launchpad, supply by the low voltage
inverter BOOSTXL-DRV8305EVM and applied to RL
three-phase load. The simulations show that the SVM is the
most appropriate to implement in order to reduce the THD
and facilitate the filtering.

Anda mungkin juga menyukai