Beruflich Dokumente
Kultur Dokumente
net/publication/3862658
CITATIONS READS
6 312
3 authors, including:
Anawach Sangswang
King Mongkut's University of Technology Thonburi
109 PUBLICATIONS 470 CITATIONS
SEE PROFILE
All content following this page was uploaded by Anawach Sangswang on 04 August 2014.
Centerfor ElectricPowerEngineering
Departmentof Electricaland ComputerEngineering
DrexelUniversity
Philadelphia,Pennsylvania
Abstract: Theprimary goal ofthispaper istopresent the design overall design process. This method becomes ideally suitable
and construction of a Digital Signal Processor (DSP) controlled in today’s curricular agenda where limited time is allocated
three-phase inverter based on Simulink and Real Time Workshop for laboratory sessions. Commercial training laboratory
Toolbox from MathWorks. Traditionally various switching
systems available tend to be rather inflexible and expensive
schemes, such as Pulse Width Modulation (PWM) and Square
[2]. In recent years, many universities have developed
Wave Switching, in addition to, reduction ofharmonics through
power electronic switching are studied in class, however, their laboratory setups for power electronics courses directed
tangible effects cannot be seen without simulation and/or towards the use of computer simulation or computers
laboratory experiments .The purpose of this inverter is to provide a interacting with hardware. For example, a software tool for
modular educational platform with minimal setup time to study the power electronics circuits at Hong Kong Polytechnic has
operation of DC-AC converters. Access to the inverter is provided stressed the necessity for realistic time-domain simulations
through a variety of measurement sensors for data acquisition [3]. The University of Missouri-Rolls has implemented a
purposes, which emphasizes hands-on laboratory experience. An facility for computer control of electrical drives and
actual detailed setup and experimental procedure is presented that
machines [4]. Similar facilities have been set up at Montana
outlines the platform’s ease of use and accuracy.
State University [5]-[6].
1. Introduction
The primary goal of this paper is to present the design and
Because of enormous advances in semiconductor
construction of a Simulink-based digital signal processor
technology, power electronics devices with high power
controlled three-phase inverter. The purpose of this inverter
handling capabilities are commercially available and
is to provide an educational platform for students to study the
inexpensive, Power electronics are playing an important
operation of DC-AC Converters in a laboratory environment.
role in today’s technology; they have an increasing number
The Simulink-based controlled laboratory setup allows
of applications in the industrial and domestic areas. The
students to adjust parameters and quickly iterate to achieve
major fimction of power electronics is to control the flow of
required results. The Simulink toolbox in Matlab is used to
power by shaping the supplied power from the source.
simulate switching schemes and the C code for a DSP board
Power electronics also introduces distortion of the output
is generated by Real Time Workshop. Using these
waveform and injects harmonics into the supplier system.
technologies along with a readily available DSP board from
These harmonics can be reduced by using appropriate filter
Texas Instruments Inc. (TI), a customized code is directly
circuits. In addition, the advancement of computer
generated and downloaded to the control board. The marked
simulation and microprocessor technology makes various
differences between this three-phase inverter and commercial
control schemes involving power electronics to become
inverters are:
more flexible and easier. From educational side, computer
simulation has facilitated laboratory teaching in power
● Measurement sensors: Provide access to a diversity of
engineering related fields like, power electronics. The wide
measurements to basically every part of the inverter.
variety of computer simulation programs such as PSpice,
● Data acquisition: Measurements can be taken directly
Matlab, and Simulink allow students access to circuit
horn these sensors for analytical purposes.
waveforms, dynamic and steady-state behavior descriptions
among others [1]. In conjunction with this, laboratory setup ● Experimental Model: Assorted types of switching
in power electronics can also be a valuable experience, schemes and loads and can be easily added and tested.
which highlights what students have learned in class. ● Sirnulink-based control: It employs graphical user
interface (GUI) for building and simulating models
In general, with computer simulation it is much easier to stressing quick setup times.
study the inftuence of a parameter on system behavior than
a simulation through a hardware laboratory. While in With respect to the experiment discussed in this paper, it is
industry, combination between computer simulations and desirable to show how the inverter is used for the purpose of
hardware implementation has been used to shorten the demonstrating and analyzing the inverter waveforms and
, Lc.
I I 1
inverter that is able to run with different types of switching xc. — Inverter
circuit nuce
schemes and loads, A DSP board and computer interface
are required to accomplish control schemes and data T
acquisition.
1-7
3-4$ 3-4 Drode DC Low ‘paSS DC 3-o Ftd/ AC
Load
AC Bridge Recifler Filter Bridge Irwerler 3-$ The figure above shows that the higher order harmonic
contents are attenuated by the inductor, while the capacitor
helps keeping the dc voltage constant, In addition, the
Fig.1 InverterSystemSetup
capacitor also acts as a snubber for switches in the inverter. It
is necessary to make the load impedance much greater than
As shown in figure 1, the overall system consists of a three-
the impedance of the capacitor; to allow the nth harmonic
phase input ~ower’ supply, rec&3er, filter, full bridge
current to pass through the filter capacitor.
inverter, and load. The three-phase input power supply is
fkom the utility. A diode rectifier converts an ac input to de
2.1.3 Inverter
output in an uncontrolled manner. A low-pass filter makes
The fimction of the inverter is to change a de input voltage to
the dc output to be as ripple free as possible. A three-phase
a symmetrical ac output voltage with controllable magnitude
full bridge inverter changes a dc input into a symmetrical ac
and fi-equency. The dc input of the inverter is obtained from
output. Since dc input is not controllable, the ac output of
output of the low-pass filter of the rectifier. Each switch of
the inverter is controlled by pulse-width-modulation
the inverter is operated by a small control signal. Switches in
(PWM) and fed to the load. From the inverter setup block
the same leg are not turned on at the same time, to prevent
diagrams, relevant hardware and software issues are
short circuit in a leg. Blanking time must be added to make
discussed as follows.
sure that there are no two switches in the same leg turning on
at the same time. Switches in this inverter are fully
2,1 Hardware Features
controllable power devices with fast switching speed,
There are seven main issues that are included in the
because this inverter is expected to handle various kinds of
hardware features.
switching schemes, including ones that require high
1) Obtaining dc input for the inverter by using a
switching speeds. High negative voltage blocking capability
rectifier circuit.
is also necessary for preventing the switch ffom damage. The
2) A filter circuit is used to reduce voltage ripple.
voltage and current rating of power devices in the inverter
3) Inverter
depends on the types of load and switching schemes. For
4) Measurement sensors
unidirectional switching, as in this inverter, an anti-parallel
5) Gate drive circuitry for controlling switching
connected diode is needed to provide a path for the current in
operation
the event that there is an inductive load. If an attempt is made
6) DSP controller
to open switch the energy stored in the inductor will be
transformed in order to maintain the direction of the current.
2.1.1 Rectifier Circuit
This may cause damages to the switch. Such a diode is called
The finction of a rectifier is to convert an ac signal into a
a fi-eewheeling diode.
unidirectional signal. The input is directly supplied from the
utility. The rectifier draws highly distorted current during
2.1.5 Drive circuits
turn off time in each diode and generates harmonics to the
The function of a drive circuit is to turn the switch from an
load at the same time. In order to obtain the dc input
off state to on state and vice-versa. The power rating of the
voltage, a three-phase diode bridge and a filter are used to
drive circuit may vary depending on the type of switches
achieve lower ripple content in the waveforms and higher
being used. A drive circuit also creates a blanking time for
power. The ratings of diodes are to be determined in terms
switches. Therefore, a high-speed drive circuit is desired for
such an inverter that is able to operate with various switching
I I
Download to the \
The measurements are used for analytic and protection control board
purposes. Because this laboratory setup is designed for
students, the safety requirement with regard to isolation Fig 3. A modularSimulink-basedcontrolscheme
from high voltage equipments is an obligation. All voltage
and current measurements at each part must be accessible 2.2.2 Real-Time Workshop
through measurement point terminals. Measurement sensors Real-Time Workshop is a toolbox equipped in Matlab
must have excellent accuracy and high immunity to external Simulink. It allows C code to be generated from block
interference. Wide frequency bandwidth is also necessary diagrams in Simulink. Once a system has been designed and
for the sensors to handle dc signals in the dc link to ac simulated in Simuhnk, code for digital signal processors can
signals at the output of the inverter. Hall effect devices are be generated, compiled, linked, and downloaded to the DSP
perfectly fit for this setup. board. By providing a device driver block in Simulink, the
generated executable code will be able to run on a specific
2.1,7 DSP Controller hardware [8]. With Real-Time Workshop, various switching
This laboratory setup is designed for real-time control. This schemes can be easily added and implemented with a
requires such technology as a floating-point DSP, which minimal setup time.
offers opportunities to develop computationally intensive
applications that were previously not feasible by 3. Methodology
microprocessors. For flexibility reasons, a control board
must be a self-contained system, without occupying a host 3-4 3 - # Full Bridge
PC. The board can communicate with the host PC by using Diode Bridge IGBT-based Inverler
a standard RS232 serial port. This allows any set of readily 3-4 3-4
available computers in the laboratory to interface with the 208 V60HZ D,C. A. C. Voltage
control board. A
I /\
J ~ [, ),
2.2, Software Features w
As an educational platform, it is desired that this setup must
be able to demonstrate how a variety of switching signals 1
are generated. In order to appreciate the result of the Oscilloscope
Oscilloscope J Feedback
computer simulation, it must allow for implementation of
the generated signals on the real inverter. Gale Driver
Circuit
2,2,1 Matlab Simulink
Simulirik is a software package for creating, editing and
simulating dynamical systems on Matlab fkom Mathworks, I I
o I I
I
1/0 1/0
Inc [7]. It is widely used in industry and academic Personal
DSP Controller
institutions, Simulink utilizes a graphical user interface Computer
I 6
c 3
c >
AO BCJ co
Fig,6Inverterand measurementsensors
‘? ‘? c?
6 3 19
&
C2
20 v
~+
I ‘mB,dS- ~
Gate driver IC 2
tar m m
Capacitor ,s
P-J 00 0 0 a
15 14 5— :
R3 00 0 0
plTTl
z s. . . . . u
-~ ‘-’”“~ 1 L!u — U!uui
‘2 I
F-----4
1
! .!
output voltages
II Inductor
1
+12V a Opto b
b. Va w Vc ~
p— coupler
Measurement points
Fig. 7 Gate drivercircuit
Fig, 8 Mechanicallayout
The control signal voltage is applied, at the point (a) in the
figure above, across the base-emitter of a switching
In addition to the metal box, the control board is mounted
transistor, which then turns on and off creating a varying
away fi-om the inductor as far as possible. The gate driver
switching signal. Output signals (c) and (d) are connected to
circuits are centrally located since it is wired to power
source (S) and gate (G) of the IGBT, respectively as shown
supplies, the control board and IGBTs. The three-phase input
in figure 6. This signal is optically isolated from the control
and output terminals are compatible with the current
signal to avoid unwanted interference. This gate drive laboratory setup. There are measurement points at each
circuit also has built in overcurrent protection. It senses the terminal so that the voltage can be probed. There are also dc
current from IGBT’s drain (D) through point (b), and measurement points connected to Hall effect devices.
determines whether the inverter is handling too much
current or not. If overcurrent is sensed the gate driver turns
3.2 Software Features
the IGBT off and then sends a control signal back to the Simulink-based software features are divided into 2 parts as
controller, Maintaining electrical isolation between systems, shown in the flow chart in Fig. 3. In addition, the
and terminating signal interconnect shields correctly,
TMS320C3X code generation tools from TI and the SBC31
minimizes the possibility of electromagnetic compatibility monitor program ffom Innovative Integration are needed to
problems.
successfully download the executable output file to the
control board.
3.1.6 DSP board
The TMS320C31 DSP is used as a control board. This
3.2.1 Simulink
board provides a high speed Harvard architecture designed There are 2 switching schemes created in Simulink, three-
for fast execution of complex signal processing algorithms, phase square wave and PWM switching schemes. A 3-phase
The board is supported by the following external
square wave is created by, using 3 pulse generators from the
peripherals: three 82C54 16 bit timers, two 4:1 multiplexed source library in Simulink. Each pulse generator was set to a
DSP 102 A/D converters, one Z80C30 serial controller 50 percent of duty ratio and a phase of 120 degrees. The
supporting 2 serial ports, two 82C55 parallel peripheral tlequency of the square wave can be entered or changed by
interface supporting 48 bits of 1/0. Application of the DSP
users. Simulation results can be seen immediately, via the
and its accompanying peripherals can be programmed with scope or other display blocks, while the simulation is
the help of C source code flashed onto an EEPROM chip mnning. A PWM signal is created by comparing a triangular
located on the board. Hardware configuration is further wave with a sinusoidal wave (sinusoidal PWM type). Since
facilitated by on board jumpers and external triggering Simulink does not provide a triangular signal generator, it
options [9]. has to be created. Users can enter the modulating frequency,
tiequency modulation ratio ( m f ) and amplitude modulation
3.1.7 Mechanical placement
Placement of the all circuits inside the laboratory setup is a ratio (ma ). Moreover, an unlimited number of switching and
critical design consideration. Measurements were taken on control schemes can be developed in Simuhnk.
all of the major components and the layout was drawn up on
7. References