Académique Documents
Professionnel Documents
Culture Documents
by
YONG ZHANG
in
December 2007
ii
Table of Contents
Abstract ...........................................................................................................ii
Acknowledgements .......................................................................................... X
Chapter 1 Introduction .....................................................................................1
1.1 Overview of the Current System......................................................................................... 1
iii
3.3.1 The basic IGBT drive principle............................................................................. 21
iv
4.7 Execution Time ................................................................................................................. 60
References.........................................................................................................82
v
List of Tables
Table 4.5 Assigning the right duty cycle to the right motor phase ........................................................ 54
vi
List of Figures
Figure 2. 9 Torque-speed curves with low-speed voltage boost, constant voltage/frequency ratio ...... 15
Figure 2. 10 Open loop volts/Hz speed control with voltage-fed inverter ............................................ 16
Figure 3. 11 Current paths when Low Side is off and High Side turns on............................................ 30
Figure 3. 14 Current paths for (a) Operation mode of motoring (b) Operation mode of generating..... 34
vii
Figure 3. 17 Current scaling for short circuit protection....................................................................... 38
Figure 4. 3 Sin, Cos calculation using the sine look-up table ............................................................... 45
Figure 5. 1 Gate signal, low side with different DC bus link voltage ................................................... 62
Figure 5. 9 Gate signal with flyback transformer as power source of the drive.................................... 71
viii
Figure 5. 15 The gate signal curve with improved hardware layout ..................................................... 75
Figure 1 Stator current in the stationary reference frame and its relationship with a,b,and c stationary
Figure 2 Stator current in the d,q rotating reference frame and its relationship with, stationary
ix
Acknowledgements
x
Chapter 1 Introduction
1. Chapter 1
Introduction
The Frederic Wood Theatre is located at the north end of The University of British
Columbia (UBC). The original construction was built in 1963 and designed by
Thompson, Berwick and Pratt. The building exterior is textured concrete with relief to the
concrete walls coming from the landscape and the glazed entrance. This building is
named after Frederic Wood, Founder of the UBC Players’ Club, as a tribute to his major
contribution to the development of theatre in British Columbia.
During the past 50 years, numerous shows, conferences and other actions have
been held at the theatre. Nowadays, it is still busy to be a platform to operate various
theatre programs, which make it possible to interact among students, scholars and guest
artists. As the heart of a theatre, the stage serves as a space for actors. As is necessary in a
drama, sceneries are required to be changed according to the mood, and rotary stage can
serve a performance to the need of scenery change. There is a round revolver, with
27-feet diameter, in the Frederic Wood Theatre. This revolver is driven by a 3-hp Direct
Current (DC) motor via a steel cable coupled the motor and the stage. The old control
panel has three speed control option buttons and one bi-direction rotated knob to supply a
coarse control approach. Position alignments in the scenery change are based on the
operator’s experience. However, because the scenery setting differs from time to time,
and so does the number of actors, this operation becomes complex and uncertain even to
a veteran operator. Consequently, an automatic stage drive and control system is
desirable.
1
Chapter 1 Introduction
Application
Judged in terms of fitness for purpose coupled with simplicity, the induction motor
must rank alongside the screw thread as one of mankind’s best inversions [1]. The
induction motor (IM) has dominated a number of fixed-speed applications because of its
reliability and low maintenance operation compared to DC motors. But, speed control had
been one of the obvious shortcomings which impeded IM applications in some industrial
fields, such as hydraulics. On the contrary, controlling the speed of a brushed DC motor
is simple. The higher the armature voltage, the faster the rotation. This relationship is
linear to the motor's maximum speed. In addition, most industrial DC motors will operate
reliably over a speed range of about 20:1 -- down to about 5-7% of base speed. This is
much better performance than comparable AC motors.
However, in the last two decades, with the evolution of power semiconductor
devices and power electronic converters, the IM is also well established in the
controlled-speed arena. High performance Digital Signal Processor (DSP)’s introduction
makes complicated control algorithms, such as flux vector control, available, which
means that Alternating Current (AC) motors can be applied to accurate motor speed
control as DC motor. Meanwhile, an AC induction motor, compared with a DC motor, is
relatively inexpensive, since the windings consist of metal bars which are cast into steel
laminations that make up the remainder of the rotor and the stator windings can easily be
inserted in slots in stator laminations. An induction motor, at least the cage variety, has no
brushes, no moving parts other than the rotor, and virtually no maintenance. As a result,
AC motors are progressively replacing DC machines in variable-speed applications.
2
Chapter 1 Introduction
The objective of this thesis is to clarify the practical approaches needed to set up a
Digital Signal Processor (DSP)-based variable-speed drive to realize accurate speed and
position control. The specific objectives include:
To find safe operation areas for the stage
To build a three phase rectifier
To develop a variable-speed drive
To generate a DSP program with the assembly language
To test the prototype to determine characteristics related to above theoretical
analysis
The thesis is organized into six chapters. Chapter 1 gives a brief introduction of the
current stage system and outlines the objectives of this thesis. In Chapter 2, some basic
principles of mechanics and IM variable-speed control are reviewed and a safe operation
area for the stage is proposed. Chapter 3 is focused on hardware setup for a variable-
speed IM drive. Chapter 4 will be dealing with software implementation. Some design
illustration concerning software is presented. Selective experimental results are included
in Chapter 5. The last chapter concludes the design and the implementation and proposes
some work needed to be done in the future.
3
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
2. Chapter 2
Principles of Stage Mechanic System and
V/Hz Control
In the stage and its drive system, both mechanical and electromagnetic energies
exist and there is the exchange between the two types of energies. Since the whole system
involves mechanical and electrical engineering, it is necessary to recall some basic
concepts and laws related to mechanics. The most general equation to describe rotational
motion is:
dω
TM − TL = J (2-1)
dt
angular speed, J(kg .m 2 ) is the overall moment of inertia of the rotating mass about the
dω d 2θ
TM − TL = J =J 2 (2-2)
dt dt
d ω d 2θ
where α = = 2 (2-3)
dt dt
4
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
ω TM − TL
Before proceeding to the system design, we have to find a way to decide what the
maximum angular speed ωmax and maximum angular acceleration α max should be since
they associate with the safety for actors on-board. We can divide the safety problem into
two levels, mechanically safe and physiologically safe. For mechanical safety, the
maximum angular speed ωmax and maximum angular acceleration α max should be
within the range such that motors and the stage can stand. In addition, slippage in the
cable coupled gear box and the stage should be taken into account while the maximum
angular acceleration α max is chosen. For physiological safety, ωmax and α max should
be within the range that those on-board can stand and have no dizziness or fear caused by
the motion of the stage.
Rotating along the shaft is a typical movement for the stage. The angular speed of
the stage can be changed in the acceleration/deceleration period. So does the angular
acceleration/deceleration. Therefore the motion of the stage is a varying-speed
varying-acceleration revolution. If an object is rotating with a varying speed, its
acceleration can be divided into two components, a radial/centripetal acceleration that
changes the direction of the angular speed, and a tangential acceleration that changes the
magnitude of the angular speed. Figure 2. 2 [3]shows the forces and accelerations applied
to a person standing on a stage.
5
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
ωL ,α L
FC , α C
Ff ,α f
FT ,α T
acceleration α L . F f and α f represent the force applied to the person and the actual
acceleration for the person respectively. F f (the same to α f ) can be divided into two
FT = maT = mα L r (2-5)
with m being the mass of the person and r being the rotational radius of the person.
From (2.4) and (2.5) we have
keep the person moving with the stage simultaneously. The maximum of the friction is
given by
Ff ,max = μ s mg (2-7)
where μ s is the coefficient of static friction between the stage and person’s shoes and
6
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
Ff ,max ≥ Ff (2-8)
must be satisfied to prevent slip from happening. Substitute (2.6) and (2.7) into (2.8) and
eliminate m results in
μ s g ≥ r ωL4 + α L2 (2-9)
μs g
or ωL4 + α L2 ≤ (2-10)
r
the most serious case, in terms of r, happens when people stand at the edge of the stage,
thus μ s g / r reaches its minimum μ s g / R with R (13.5fts) the radius of the stage.
μs =0.5
μs =0.4
1
μs =0.3
μs =0.2
0.5
μs =0.1
α L (rad/s )
2
-0.5
-1
7
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
the old system, the comfortable speed ωmax is limited at 1.42 rpm (0.1495 rad / s ) and
Among all types of ac machines, the induction machine, particularly the cage type,
is most commonly used in industry. These machines are very economical, rugged, and
reliable, and are available in the ranges of fractional horse power (FHP) to
multi-megawatt capacity [4]. In the following two sections, the principle of torque
production is introduced and per phase equivalent circuits are used to figure out the
expression of relationship between IM’s torque and speed.
N e − N r ωe − ωr ωsl
s= = = (2-11)
Ne ωe ωe
8
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
P = number of poles of the machine. The rotor current is induced at slip frequency.
Since the rotor is moving at speed ωr and it current wave is moving at speed ωsl
relative to the rotor, the rotor mmf wave moves at the same speed as that of the air gap
⎛P⎞
Te = π ⎜ ⎟ lrB p Fp sin δ (2-12)
⎝2⎠
BP = peak value of air gap flux density, FP = peak value of rotor mmf , and δ is
The various power expressions can be written form the equivalent circuit of Figure
2. 4 as follows:
⎛P⎞
Input power: Te = π ⎜ ⎟ lrB p Fp sin δ (2-13)
⎝2⎠
9
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
3Vm 2
Core loss: Plc = (2-15)
Rm
Rr
Power across air gap: Pg = 3I r 2 (2-16)
S
Rotor copper loss: Plr = 3I r 2 Rr (2-17)
1− s
Output power: Po = Pg − Plr = 3I r 2 Rr (2-18)
S
Since the output power is the produce of developed torque Te and speed ωm, Te can
be expressed as
P0 3 1− S ⎛ p⎞ R
Te = = I r 2 Rr = 3⎜ ⎟ Ir 2 r (2-19)
ωm ωm S ⎝ 2 ⎠ sωe
where the core loss resistor Rm has been dropped and the magnetizing inductance Lm
has been shifted to the input. This approximation is easily justified for an integral
horsepower machine, where
10
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
Vs
Ir = (2-21)
( Rs + Rr / S ) + ωe 2 ( Lls + Llr )
2 2
⎛P⎞ R Vs 2
Te = 3 ⎜ ⎟ r (2-22)
⎝ 2 ⎠ Sωe ( Rs + Rr / S ) + ωe 2 ( Lls + Llr )
2 2
neglecting the stator parameters Rs and Lls . This assumption is not unreasonable for an
integral horsepower machine, particularly if the speed is typically above 10 percent [4].
Then, the equation (2-22) can be simplified as
2
⎛ P ⎞⎛ V ⎞ ωsl Rr
Te = 3 ⎜ ⎟ ⎜ s ⎟ (2-23)
⎝ 2 ⎠ ⎝ ωe ⎠ Rr + ωsl Llr
2 2 2
Vs
ψm = (2-24)
ωe
⎛P⎞ 1
Te = 3 ⎜ ⎟ (ψ m ) ωsl
2
(2-25)
⎝ 2 ⎠ Rr
where Rr 2 >> ωsl 2 Llr 2 . Equation (2-25) is critical for following analysis because it
indicated that at constant flux, the torque is proportional to slip frequency, or at constant
slip frequency, torque is proportional to flux.
11
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
0.75 1.0Vs
Torque (Te/Tem) pu
100% stator
voltage
0.5
0.75Vs
0.25 0.5Vs
0.25Vs
0
0.2 0.4 0.6 0.8 1
Speed (ωr/ωe ) pu
Figure 2. 6 Torque-speed curves at variable frequency
machine with the parameters rs = 0.5Ω , lls = 4.7mH , LM = 81.8mH , llr′ = 4.7mH ,
rr′ = 0.42Ω This type of circuit has been used extensively as “soft starter” for constant
speed IM, where the stator voltage is applied gradually to limit the stator current. Since
the air gap flux is reduced at lower supply voltage, the stator current tends to be excessive
at low speeds, which leads to high copper loss. Therefore, this type of drive is often used
for speed control under the situation where the efficiency is not an important
consideration.
12
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
If the stator frequency of a machine is increased beyond the rated value, but the
voltage is constant, the torque-speed cures derived from Equation (2-22) can be plotted as
shown in Figure 2. 7. The air gap flux and rotor current decrease while the frequency
increases and corresponding developed torque also decreases. The breakdown torque as a
function of slip (at constant frequency) can be derived by differentiating Equation (2-23)
as
2
⎛ P ⎞⎛ V ⎞ ωslm Rr
Tem = 3 ⎜ ⎟ ⎜ s ⎟ (2-26)
⎝ 2 ⎠ ⎝ ωe ⎠ Rr + ωslm Llr
2 2 2
where ωslm = Rr / Llr is the slip frequency at maximum torque. The equation show that
Temωe 2 = constant
1 Tem
Rated cruve
Torque (Te/Tem) pu
2
0.5 Temωe=constant
0 1 2 3
Frequency (ωe/ωb) pu
If an attempt is made to reduce the supply frequency at the rated supply voltage, the
air gap flux ψ m will tend to saturate, causing excessive stator current. Therefore, the
region below the rated frequency should be accompanied by the proportional reduction of
13
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
stator voltage so as to maintain the air gap flux constant. This relationship can be
expressed by Equation (2-24) as well. Figure 2. 8 shows the plot of torque-speed curves at
Volt / Hz = constant. Note that the breakdown torque Tem given by Equation (2-26)
remains approximately valid, except in the low frequency region where the effect of
stator resistance in reducing the flux becomes very pronounced. It is clear from Figure 2.
8 that the starting torque at the minimum frequency is much less than the breakdown
torque at higher frequencies, and this could be a problem for loads which require a high
starting torque. For example, the starting torque for the stage’s revolve is quite high. The
additional stator voltage can be compensated to restore Tem value, as shown in Figure 2.
9.
Maximum torque
V s /ωe=constant
Rated cruve
1
Torque (Te/Tem) pu
0.5
0
0.5 1
Frequency (ωe/ωb) pu
14
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
absence of high starting current in a direct-start drive reduces stress and therefore
improves the effective life of the machine.
Maximum torque
Vs / ωe=constant
Rated cruve
1
Torque (Te/Tem) pu
0.5
0
0.5 1
Frequency (ωe/ ωb) pu
Figure 2. 9 Torque-speed curves with low-speed voltage boost, constant voltage/frequency ratio
The open loop volts/Hz control of an induction motor is by far the most popular
method of speed control because of its simplicity, and there types of motors are widely
used in industry [4]. Traditionally, the induction motors have been used with power
supplies at constant frequency for constant speed applications. For adjustable speed
applications, variable voltage and variable frequency is prevalent. The simple principle is
frequency. Figure 2. 10 shows the block diagram of the Volt / Hz speed control method.
The power circuit consists of a diode rectifier with three phase AC supply, LC filter, and
PWM voltage-fed inverter. The frequency command ωe * is the control signal because it
is approximately equal to speed ωr , neglecting the small slip frequency ωsl of the
machine. Based on Volt / Hz control theory which has been motioned in the above
15
Chapter 2 Principles of the Stage Mechanic System and V/Hz Control
section, the phase voltage command Vs * can be generated from frequency command be
and leakage inductance of the machine are neglected, the flux will also correspond to the
air gap flux ψ m or rotor flux ψ r . At low speed areas, the stator resistance become
significant and absorbs the major amount of the stator voltage, thus weakening the flux.
Therefore, the boost voltage Vboost is added to compensate flux to keep it equal to rated
flux and corresponding full torque become available at low frequency. The ωe * signal
is integrated to generate the angle signal θ e * , and the corresponding sinusoidal phase
PWM controllers which is embedded in DSP can generate control signals to drive the
inverter. Detailed description of hardware and software for this control topology will be
given in chapter3 and chapter 4 respectively.
⎛ 2π ⎞
Vb* = 2Vs sin ⎜ θ e − ⎟
⎝ 3 ⎠
∫ ⎛ 2π ⎞
Vc* = 2Vs sin ⎜ θ e + ⎟
⎝ 3 ⎠
16
Chapter 3 Hardware Implementation
3. Chapter 3
Hardware Implementation
Based on the theory has been discussed in chapter 2, a practical variable-speed
drive will be built for experimental result. In this chapter, emphasis will be given on how
to choose components and put them together to form a prototype of IM variable-speed
drive.
17
Chapter 3 Hardware Implementation
In order to obtain the essential DC bus voltage for the inverter, a three-phase diode
bridge rectifier (Figure 3. 2) was applied in this application. A six pulse full bridge
rectifier will produce 325V DC bus voltage while input AC line to line voltage is 230V.
3.2.1 Thermistor
A thermistor is installed to avoid high inrush current and voltage ringing when
connecting the capacitors to the input network. When current begins to flow through
resistor and charge capacitors, the voltage difference between the power source and
capacitor is almost equal to 325V, which will produce big current in the circuit loop. This
current could be so high that it is in excess of capacitor’s rating current and damage
capacitors permanently. The thermistor has biggest resistance value of 5 ohms at 25
degree centigrade. It will be helpful in limiting starting charge current to 65A in a short
time. With the process of charging capacitors, thermistor’s resistance will drop
dramatically with the increase of its temperature. Finally, it reaches 0.082ohms, which
brings very small power dissipation in the steady state. In other words, the thermistor can
be considered as a short circuit and without any voltage drop on it in the steady state.
18
Chapter 3 Hardware Implementation
Sizing of the capacitor represents a tradeoff. For a given load, a larger capacitor
will reduce ripple but will cost more and will create higher peak currents in the supply
feeding it. In Figure 3. 3, the voltage waveform of capacitors is depicted to calculate
corresponding capacitance value.
Electrolytic capacitors are used to smooth the dc bus voltage. Its capacitance can be
found from the formula:
2 Pin
Cmin = (3-1)
2
(V
max − Vmin
2
) f rect
where Pin is the load power in watts, f rect is the ripple frequency, Vmax is the maximum
assume Vmin = 96%Vmax = 312V ; Pin = 3 * 745 = 2235W ; for three phase rectifier
19
Chapter 3 Hardware Implementation
2 Pin 2 × 2235
Cmin = = = 1499μ F
(V2
max − Vmin ) f rect (325 − 3122 ) ⋅ 360
2 2
Vmin
cos −1 ( )
Vmax cos −1 (0.96)
tc = = = 753μ S (3-2)
2π f in 2π ⋅ 60
1 1
tDC = − tc = − 753μ = 2mS (3-3)
f rect 360
ΔV V −V 325 − 312
IC = C = C max min = 1499 = 26A (3-4)
tc tc 753
Figure 3. 4 shows a leg which includes high side and low side IGBT modules,
drivers and DC-DC converters of the three-phase bridge inverter. In the following
paragraphs, the detailed discussion will be focused on all components of this inverter.
20
Chapter 3 Hardware Implementation
VCC
+5
*1
1
+Vin
C1
10uF
2
-Vin
4
-Vout
C2 R5
10uF 3.8K
5
COM
C5
1 8 10uF R6
N/C Vcc
3.8K
R1 2 7 6
Vin-1 ANODE V0 +Vout
180R
3 6 VASD1-S5-D15-SIP
CATHODE V0
4 5
N/C VEE Q1
HCPL-1 R3 IGBT-N
180R
R9
1.0K
+5
*2
1
+Vin
C3
Phase A
10uF
2
-Vin
4
-Vout
C4 R7
10uF 3.8K
5
COM
1 8 C6 R8
N/C Vcc
10uF 3.8K
R2 2 7 6
Vin-2 ANODE V0 +Vout
180R
3 6 VASD1-S5-D15-SIP
CATHODE V0
4 5
N/C VEE Q2
HCPL-2 R4 IGBT-N
180R
R10
1.0K Negative side of DC bus link
Figure 3. 5 illustrates a basic IGBT gate drive circuit, which converts logic level
control signals into appropriate voltage and current that can drive the IGBT power
21
Chapter 3 Hardware Implementation
module reliably and efficiently [6]. The conversion is performed by a pair of bipolar
transistors alternately connecting the IGBT’s gate to the appropriate on (Von) and off
(Voff) voltages. The gate resistor is selected to generate a proper peak current charging or
discharging the IGBT’s gate. The optocoupler provides isolation between the high power
component and control signal to avoid potential damage to the digital controller.
The IGBT gate drive circuits are subjected to high common mode dv / dt noise
produced by the fast switching, high voltage and high current IGBT power modules. To
maintain the immunity to the high dv / dt noise is critical for the drive circuit to function
normally in an offensive environment.
If the wiring between the drive circuit and the IGBT is long, the IGBT may be in a
malfunction due to gate signal oscillation or induced noise. A countermeasure for this is
shown in Figure 3. 6 . In order to avoid this situation, some points should be taken into
account as follows:
a) Make the drive circuit wiring as short as possible and finely twist the gate and
emitter wiring.
b) Increase RG. However, pay attention to switching time and switching loss
c) Separate the gate wiring and IGBT control circuit wiring as much as possible,
22
Chapter 3 Hardware Implementation
Stray inductance
LS RG
Drive circuit
RGE
23
Chapter 3 Hardware Implementation
The gate drive used in the prototype, HCPL-3120, is a high-current output IGBT
gate drive with built-in opto-coupler. Its main parameters are given in Table 3.1.
The current and voltage supplied by HCPL-3120 make it ideally suited for directly
driving IGBTs with ratings up to 1200V/100A. In this drive, IR’s IGBTs (IRG40C50UD)
are used as power switches. Their rating current is 27A at 100 oC and rating voltage is
600V. The switching frequency is 10 kHz. From HCPL-3120 datasheet, it is easy to draw
a conclusion that this drive is suitable for designated IGBTs. The HCPL-3120 contains an
under-voltage lockout (UVLO) feature that is designed to protect the IGBT under fault
conditions which cause the HCPL-3120 supply voltage (equivalent to the fully- charged
IGBT gate voltage) to drop below a level necessary to keep the IGBT in a low resistance
state. When the HCPL-3120 output is in the high state and the supply voltage drops
24
Chapter 3 Hardware Implementation
below the VUVLO- threshold, the opto-coupler output will go into the low state with a
typical delay. When the HCPL-3120 output is in the low state and the supply voltage rises
above the HCPL-3120 V UVLO+ threshold, the opto-coupler output will go into the high
state with a typical delay.
V2 302
P= = ≈ 0.12W (3-5)
2 R 7600
25
Chapter 3 Hardware Implementation
There are numerous methods to size IGBT’s gate resistors. Here some of them
which are applied by industries will be illustrated. More accurate resistance values can be
found by practical tests depending on the different emphasis of switching loss, switching
time and slope of dv / dt .
By properly sizing the gate resistors the switching speed of the output IGBT can be
controlled [7]. Some basic rules are given below for sizing the gate resistors to obtain
desired switching time. The switching time tsw is defined as the time spent to reach the
end of the plateau voltage, as shown in Figure 3. 9. VGE * indicates the plateau voltage;
QGC and QGE indicate the gate to collector and gate to emitter charge respectively.
26
Chapter 3 Hardware Implementation
QGC + QGE
I avg = (3-7)
tsw
and
VCC -VGE
RTOT = (3-8)
I avg
27
Chapter 3 Hardware Implementation
tsw constraint.
QGC + QGE
I avg = Average Charging Current 172 mA
t sw
*
VGE Gate Plateau Voltage 6V
Turn-on gate resistor can also be sized to control output slope dVout / dt . Although
the output voltage has a non-linear behavior, the maximum output slope can be
approximated by
dVout I
= avg (3-9)
dt CRESoff
28
Chapter 3 Hardware Implementation
dVout
Output Voltage Slope 5 V/ns
dt
dVout
I avg = C RESoff Average Charging Current 260 mA
dt
The worst condition in calculating the turn-off resistor is when the collector of the
IGBT in the off state is forced to commutate by the turn-on of the companion IGBT [7].
In that case, a parasitic current through CRESoff will be induced by the high dv / dt of the
output node. If the voltage drop at the gate exceeds the threshold voltage of the IGBT, the
device may be turned on by itself, which will cause cross conduction for the whole leg. If
no negative bias voltage is used, condition
dVout
Vth > Vge = ( RGoff + RDRn ) ⋅ CRESoff ⋅ (3-11)
dt
must be verified to avoid spurious turn-on. Rearrange (3-11)
Vth
RGoff < − RDRn (3-12)
dV
CRESoff ⋅
dt
29
Chapter 3 Hardware Implementation
Figure 3. 11 Current paths when Low Side is off and High Side turns on
Figure 3. 12 shows the current induced by the high dv / dt of the output node,
where CIES is the input capacitance, and CRESoff is the reverse transfer capacitance. An
dVout
Output Voltage Slop 5 V/ns
dt
30
Chapter 3 Hardware Implementation
during the ‘off’ state, which is quite far from the threshold voltage of the IGBT. In the
prototype, a -15V negative bias voltage is connected to VEE, which provide enough
margin to avoid spurious turn-on by the parasitic current.
There is a dilemma of how to choose proper resistance for gate resistor from
turn-on and turn-off gate resistors. Figure 3. 13 shows a way to resolve this problem by
employing a diode, which enables the gate resistor to be a different resistance depending
on “on” or “off” state; however, another simple and practical way is introduced by
calculating the gate resistor from drive side to minimize IGBT Switching Losses.
where VOL is low level output voltage at the peak current of 2.5A. Table 4.7 gives the
verification for the IGBT used in the prototype.
The above-described methods for sizing gate resistors are intended to approximate
phenomena of turn-on and turn-off switching time and switching losses of power IGBTs.
More accurate sizing may rely on more precise IGBT modeling and parasitic components
dependant on the layout and connection of the circuit. In the prototype, thanks to a big
error from stray inductance of wires which are used to connect drives and IGBTs, an
180Ω resistor has been installed to avoid dramatic oscillation in VGE. In chapter 5, a
detailed experimental study related to the gate resistor will be made.
31
Chapter 3 Hardware Implementation
With built-in
U2 Gate drive IC HCPL3120
opto-coupler
R1 Resistor 1kΩ
32
Chapter 3 Hardware Implementation
When an induction motor’s rotor is turning slower than the synchronous speed set
by the drive’s output power, the motor is transforming electrical energy obtained from the
drive into mechanical energy available at the drive shaft of the motor. This process is
referred to as motoring. When the rotor is turning faster than the synchronous speed set
by the drive’s output power, the motor is transforming mechanical energy available at the
drive shaft of the motor into electrical energy that can be transferred back to the drive.
This process is referred to as regeneration
Most AC PWM drives convert AC power from the fixed frequency utility grid into
DC power by means of a diode rectifier bridge or controlled SCR bridge before it is
inverted into variable frequency AC power. Diode and SCR bridges are cost effective, but
can only handle power in the motoring direction. Therefore, if the motor is regenerating,
the bridge cannot conduct the necessary negative DC current; the DC bus voltage will
33
Chapter 3 Hardware Implementation
increase and cause an over-voltage fault at the drive. More complex bridge configurations
use SCRs or transistors that can transform DC regenerative electrical power into fixed
frequency utility electrical energy. This process is known as line regeneration.
A more cost effective solution can be provided by allowing the drive to feed the
regenerated electrical power to a resistor which transforms it into thermal energy. This
process is referred to as dynamic braking. In the prototype, a braking resistor is applied to
avoid high voltage in DC bus link during the regeneration of motor. The detailed method
on how to calculate resistance of this resistor is explained as follows.
During the braking period, the kinetic energy of the stage system will be reverted to
electric energy through the induction machine, which is shown in Figure 3. 15[3]. The
braking branch includes a voltage-controlled IGBT and a power resistor connected in
series to the dc bus. The IGBT switch will be closed and connect the braking resistor to
the dc bus when the dc voltage exceeds a threshold. The control circuit disconnects the
braking resistor when the dc voltage drops back to normal level.
34
Chapter 3 Hardware Implementation
J T = J m + (GR 2 × J L ) (3-14)
where:
2
⎛ 0.1495 ⎞
J T = 0.011 + ⎜ ⎟ × 34000 = 0.107kg .m
2
⎝ 89 ⎠
35
Chapter 3 Hardware Implementation
J T × ωb 2
Pb = (3-15)
(t 3 − t 2)
where ωb = Maximum rotor speed (89 rad / s ), the corresponding maximum speed of
0.107 × 892
Pb = = 28w
30
Vd 2
Rdb = (3-16)
Pb
where:
36
Chapter 3 Hardware Implementation
1502
Rdb = = 804Ω
28
A3.3V A3.3V
+15V
C7
3
104 R12
8
R11 12K D2
R8 3 U17A 10K
1 5 U17B I_protection
2
15K
R9 2 7
port1
Ia_IN 10k OP284_1 C8 6
102 Comment: OP284_1
4
R10
5.6K C6 R13
104 10K
-15V
GND
37
Chapter 3 Hardware Implementation
two tasks. The first one is used to scale input voltage to -1.5V~1.5V by a coefficient of
0.25. The second one will bring 1.5v offset, which scale output voltage to 0~3.3V.
Depending on input signal from current voltage transducer and anticipating trip current,
the coefficient could be modified by change R9 and R10 resistance. Figure 3. 18 gives
detailed explanation for current scaling.
Anticipating fault current Input of censoring circuit First Op-amp Second Op-amp DSP
-6V -1.5V 0 0
38
Chapter 4 Software Implementation
4. Chapter 4
Software Implementation
Related hardware such as the inverter, driving circuits and DC link has been
described in chapter 3. Here, a software setup to implement control algorithm will be
posted. All description and discussion of the software are based on TI’s (Texas
Instruments) DSP 320F-2407A CPU. A program flow chart will be presented with a
detailed explanation of crucial points to achieve the design objective.
based on V / Hz profile;
39
Chapter 4 Software Implementation
Determine the switching pattern or sequence to be used and load the calculated
compare values into the corresponding compare registers.
The above procedure assumes that the digital signal processor has all the needed
timers and compare units with associated PWM outputs. This is true in the case of
TMS320F -2407A. The major features of the TMS320F2407A include:
TMS320F-2407A CPU core with 25nS instruction cycle time;
544 words of on-chip data/program memory, 32K words of on-chip program
ROM or Flash EEPROM, 64K words of program, 64Kwords of data and 64K words of
I/O space of address reach;
Sixteen multiplexed analog inputs 10-bit ADC core with built-in Sample and
Hold (S/H) and fast conversion time (S/H + Conversion): 375 ns
PLL, Watchdog Timer, SCI, SPI, and 41 multiplexed I/O pins;
Event Manager featuring
Two general-purpose (GP) timers;
a) Three general-purpose up and up/down timers, each with a 16-bit compare unit
capable of generating one independent PWM output;
b) Pulse-width modulation (PWM) circuits that include space vector PWM
circuits, dead-band generation units, and output logic;
c) Three 16-bit simple compare units capable of generating 4 independent PWM
outputs;
d) Three capture units
e) Quadrature encoder pulse (QEP) circuit;
TMS320F2407A has the necessary features to allow easy implementation of
different motor control algorithms and PWM techniques. For the application here, the
following set up is needed for the generation of PWM outputs:
GP Timer 1 is configured in continuous-up/down mode to generate symmetric
PWM. The three full compare units are configured in PWM mode to generate
six complementary PWM outputs.
40
Chapter 4 Software Implementation
Once the above items are completed, all that is needed to generate the required
PWM outputs is for the application code to update the compare values based
on the discussed principle and PWM techniques.
AC Induction Motor
There are two major issues that must be resolved to implement the discussed
principle and PWM technique. One is how to generate or represent the revolving
reference voltage vector Uout given the command frequency and magnitude of the
reference voltage vector. The other is the determination of the switching pattern based on
this reference voltage vector.
4.2.1 Overview
The major features of this implementation are 16-bit integration to obtain the
frequency of the reference voltage vector, frequency-based table look-up magnitude of
the reference voltage, frequency-based table look-up SIN and COS functions, projection
of the reference voltage from d _ q to α _ β axis, update of compare units for PWM
channel toggling sequence. GP Timer 1 is used as the time base for PWM output
generation with the Full Compare Units. The flow chart of this implementation is
illustrated in Figure 4. 1
An ADC channel is used to input the speed command. In this application, the
accuracy of speed response is not a concern. Therefore, open-loop speed control is
implemented.
The major steps involved in this implementation are:
Integrate the command speed to get the phase, theta, of the reference vector;
Determine theta, and use theta based look-up table to obtain SIN(theta) and
41
Chapter 4 Software Implementation
42
Chapter 4 Software Implementation
After a processor reset, the initialization module performs the following tasks:
DSP setup : core, watchdog, clocks, ADC, SCI, general purpose IO, event
manager
Variables initializations : default values
Interrupt source selection and enable
Waiting loop
The waiting loop implemented corresponds to an interruptible communication
between the DSP and a Graphical User Interface. The DSP communicates via its
asynchronous serial port to the COM port of a PC. The user can send commands via this
RS232 link and update variables and flags from the computer.
The interrupt module handles the whole V/F algorithm. It is periodically computed
according to a fixed PWM (pulse width modulation) period value. The choice of the
PWM frequency depends on the motor electrical constant L/R. If the PWM frequency is
too low, audible noise can be heard from the motor. Usually, PWM frequencies are in the
range of 20 kHz. In this project, a PWM frequency of 10 kHz has been chosen. In Figure
4. 2 , the sampling period T of 100 μs (10kHz) is established by setting the timer period
T1PER to 2000 (PWMPRD=2000). This timer is set in up-down count mode and
generates a periodical interrupt on T1 underflow event. The goal of the interrupt module
is to update the stator voltage reference and to ensure the regulation of rotor mechanical
speed.
43
Chapter 4 Software Implementation
The Park-1 uses the value of the rotor electrical position in order to handle a rotating
not directly used in this transforms but the sine and cosine values of this electrical
position.
To obtain both sine and cosine from the electrical angle, a sine look-up table has
been implemented. The table contains 256 words to represent sine values of electrical
θ e varies from 0 to 8191. As only 256 words are available to represent this range,
θ e is divided by 32 and stored into the variable index that will be used to address the
lookup table.
44
Chapter 4 Software Implementation
The content of the table row pointed by the index is fetched in indirect addressing
mode via AR5 auxiliary register (Figure 4. 3). This content coded in Q12 is stored in the
variable sin that will be used in the Park-1 transforms.
Note that to get the cosine value of the electrical angle, 90° is added to θ e . This
operation corresponds to add 64 (256/4) to the value of index. The result is stored in the
variable cos .
The Space Vector Modulation is used to generate the voltages applied to the stator
phases. It uses a special scheme to switch the power transistors to generate sinusoidal
currents in the stator phases [10].
This switching scheme comes from the translation of the (α , β ) voltage reference
vector into an amount of time of commutation (on/off) for each power transistors. In
order to understand some of the assumptions made in the case of the rectified voltage, a
brief description of three phase systems is described in the following section. .
45
Chapter 4 Software Implementation
Previously, the method used to generate a rotating magnetic field was to use three
independent voltage sources that were dephased from 120 degrees from one another.
In this standard three-phased system (Figure 4. 4), 3 sinusoidal voltages are applied
to each of the motor phases to generate the sinusoidal currents. These voltages can be
expressed as follows:
46
Chapter 4 Software Implementation
then
voltages the phase to neutral voltage for phase A can be calculated as:
Van = Von − Voa = (1 / 3)(Voa + Vob + Voc ) − Voa = −2 / 3Voa + 1 / 3Vob + 1 / 3Voc
the same calculation is made for the three phases leading to:
In the case of a static power bridge, sinusoidal voltage sources are not used. They
are replaced by 6 power transistors that act as on/off switches to the rectified DC bus
voltage. The goal is to recreate a sinusoidal current in the coils to generate the rotating
field. Owing to the inductive nature of the phases, a pseudo sinusoidal current is created
by modulating the duty cycle of the power switches.
In Figure 4. 5, the power transistors are activated by the signals (a,b,c) and their
complemented values.
47
Chapter 4 Software Implementation
Only eight combinations of the switches are possible with this configuration (Table
4.1). The applied voltages are referenced to the virtual middle point of rectified voltage.
It is possible to express each phase to neutral voltages, for every combination of the
power transistors as listed in Table 4.2.
between the 3 phase voltages (VAN, VBN and VCN) and the voltage reference vector, the 3
48
Chapter 4 Software Implementation
0 0 0 0 0 0
1 1 1 0 0 0
The expression of the 3 phase voltages in the (α , β ) frame is given by the general
⎡ 1 1 ⎤
⎢ 1 − − ⎡VAN ⎤
⎡Vsα ⎤ 2 2 2 ⎥⎢
⎢V ⎥ = ⎢ ⎥ VBN ⎥ (4-10)
⎣ sβ ⎦ 3 ⎢0 3 3⎥⎢ ⎥
⎢⎣ − ⎢
⎣V ⎥⎦
2 ⎥⎦
CN
2
Since only 8 combinations are possible for the power switches (Table 4.3), VSα
and VS β can also take only a finite number of values in the (α , β ) frame according to the
V 2 ( 010 ) V 6 (110 )
20
30
10
V 3 ( 011 ) V 7 (111) V 0 (000) V 4 (100)
60
40
50
V 1 ( 001 ) V 5 (101 )
49
Chapter 4 Software Implementation
The eight voltage vectors defined by the combination of the switches are
represented in Figure 4. 6 .
A B C Vα Vβ
0 0 0 0 0 V0
VDC VDC
0 0 1 − − V1
3 3
VDC VDC
0 1 0 − V2
3 3
2
0 1 1 − VDC 0 V3
3
2
1 0 0 VDC 0 V4
3
VDC VDC
1 0 1 − V5
3 3
VDC VDC
1 1 0 V6
3 3
1 1 1 0 0 V7
The method used to approximate the desired stator reference voltage with only
eight possible states of switches is to combine adjacent vectors of the reference voltage
and to modulate the time of application of each adjacent vector.
50
Chapter 4 Software Implementation
V 6 (110 )
V s β ref
T6
V6
T
60 0
X V 4 (100 )
T4 V s α ref
V4
T
Figure 4. 7 Projection of the reference voltage vector
In Figure 4. 7, the reference voltage VSref is in the third sector and the application
⎧T = T4 + T6 + T 0
⎪
⎨ JG T4 JG T6 JG (4-11)
⎪⎩V sref = V4 + V6
T T
Finally, with the (α , β ) components values of the vectors given in the previous
51
Chapter 4 Software Implementation
⎧ T
⎪T4 = 2V (3Vsα ref − 3Vsβ ref )
⎪ DC
⎨ (4-13)
⎪T = 3 T V
s β ref
⎪⎩ 6 VDC
The rest of the period is spent in applying the null vector. The variable T / VDC is
named VDCinvT . T is the period of the PWM interrupt and VDC is the rectified DC voltage.
T PWMPRD
vDCinvT = ⇔ (4-14)
2VDC VDC
For every sector, the commutation duration is calculated. The amount of times of
vector application can all be related to the following variables:
3 3
Y= vDCinvT Vsβ ref + vDCinvT Vsα ref (4-16)
2 2
3 3
Z= vDCinvT Vsβ ref − vDCinvT Vsα ref (4-17)
2 2
and Rc of the reference voltage vector in the ( a, b, c) plane. These projections are then
compared to 0.
The projections Ra, Rb and Rc are given by the Clarke-1 transform as follow:
1
Rb = ( 3vsα ref − vsβ ref ) (4-19)
2
1
Rc = (− 3vsα ref − vsβ ref ) (4-20)
2
52
Chapter 4 Software Implementation
The complete algorithm performed by the Space Vector Module is given in the next
section.
Now that the meaning of the variables has been given, the order in which the steps
are processed during the PWM interrupt is given.
The first step is to determine in which sector the voltage vector defined
by Vsα ref . Vsβ ref is found. The following few code lines give the sector as output:
Sector determination
P = A+2B+4C
Then, finding corresponding Sector number based on Table 4.4
P 1 2 3 4 5 6
Sector 2 6 1 4 3 5
1 t1 =Z t 2 =Y
2 t1 =Y t 2 =-X
3 t1 =-Z t 2 =X
4 t1 =-X t 2 =Z
53
Chapter 4 Software Implementation
5 t1 =X t 2 =-Y
6 t1 =-Y t 2 =-Z
PWMPRD
t1SAT = t1 (4-21)
t1 + t2
PWMPRD
t2 SAT = t2 (4-22)
t1 + t2
The third step is to compute the three necessary duty cycles. This is shown below:
⎧ PWMPRD − t1 − t2
⎪taon = 2
⎪
⎨tbon = taon + t1 (4-23)
⎪t = t + t
⎪ con bon 2
⎩
The last step is to assign the right duty cycle (txon) to the right motor phase (in
other words, to the right CMPRx) according to the sector. The table below depicts this
determination.
Sector
2 6 1 4 3 5
Phase
CMPR1 tbon taon taon tcon tcon tbon
CMPR2 taon tcon tbon tbon taon tcon
CMPR3 tcon tbon tcon taon tbon taon
Table 4.5 Assigning the right duty cycle to the right motor phase
After the duty cycle has been determined, the state sequence has to be determined
by Table 4.6[11].
54
Chapter 4 Software Implementation
1 V7 V6 V2 V0
2 V7 V5 V4 V0
3 V7 V6 V4 V0
4 V7 V3 V1 V0
5 V7 V3 V2 V0
6 V7 V5 V1 V0
1 V0 V2 V6 V7
2 V0 V4 V5 V7
3 V0 V4 V6 V7
4 V0 V1 V3 V7
5 V0 V2 V3 V7
6 V0 V1 V5 V7
55
Chapter 4 Software Implementation
In order to compensate the flux in the low speed period, the voltage applied to the
stator needs to be modified based on Figure 4. 9. In the software realization, a look-up
table is used to calculate the corresponding phase voltage of motor’s stator. The detailed
method is depicted as follows.
The output of a three phase diode bridge rectifier is 310V. The corresponding
maximum output of connecting inverter is:
V DC 310
V phase _ pk = = = 179.2V
3 3
56
Chapter 4 Software Implementation
It is obvious that Δθ of 49.15 will present 60Hz in the DSP’s program. For
convenience, an integer number, 50, is applied to express 60Hz in the software.
Resolution is 60/50=1.2Hz. It is convenient to achieve high resolution by enlarging times
of 4096 to 3 or 4.
The next step is to figure out V/Hz constant by following formula:
During the accelerating period, the stator’s phase voltage can be calculated by
given frequency timing Constant derived above.
In the starting period, V/H=constant is not valid. Compensation will be applied
based on practical test.
If the given frequency is larger than the rating frequency, stator’s phase voltage
becomes saturated, and its valve keeps constant to rating voltage. Depending on the
above analysis, a look-up table is built to figure out command voltage based on different
input command frequency (speed) signal in the software application. The whole program
is written by assembly language based on the TI’s user guide. The detailed parameters are
chosen depending on the practical stage revolve.
Figure 4. 10 illustrates voltage waveform in a complete process of locating target
position. The technique which applied in the starting phase is the same as what have been
discussed above. In decelerating period, a sensor which is mounted on the steel bracket is
used to detect reflection material attached on the bottom of revolve bottom. While a
reflecting signal is detected by the sensor, a binary stop-code is read by DSP through its
A/D conversion units. Then DSP forces the motor to decelerate to a slow speed by
reducing the command frequency automatically. The corresponding slew-rate is easy to
adjust in the software by requests. Meanwhile, revolve becomes creeping with a speed of
Slow. No sooner is “Stop Index” signal caught by the sensor than the revolve stop. It is
obvious that an overshot exists in open loop control. However, because the big friction of
revolve, the total weight of revolve, scenery and actors is 4000kg, ΔT is so small that
57
Chapter 4 Software Implementation
58
Chapter 4 Software Implementation
Because any real power electronic devices do not turn on or off instantaneously, it
is necessary to include a protection time, called the deadtime, to avoid cross conduction
when two switching devices are in the same leg. In the EVA of the LF2407 DSP, a
programmable dead-band unit DBTCONA is built-in to add a deadtime into the PWM
signals. It has been found that the deadtime causes a reduction in the fundamental
component of the output voltage and introduces low order harmonics [12]. In variable
frequency drive systems the magnitude drop of the voltage subsequently leads to a
reduction of the output electromagnetic torque. Therefore the deadtime should not be set
excessively long compared with the total turn-off time of the IGBT devices. There are
numerous papers discussing how to make deadtime compensation. However, in this
application, efficiency is not crucial consideration in a few operating requests. In the
software, the deadtime is set to 1.7μs.
Look-up tables are widely used in the program which provides an easy way to
implement functions such as sin and cos calculation. V_H_period table is used to modify
59
Chapter 4 Software Implementation
V/Hz
V_H_vol_ 50 Q12 0-180V Desired voltage
value
60
Chapter 4 Software Implementation
control routine takes an average of 80us for execution. The amount of program memory
used for the whole program is lower than 1Kword.
61
Chapter 5 Experimental Results
5. Chapter 5
Experimental Results
10
V (v) low side
0
GE
-10
-20
-2 -1 0 1 2 3
Time(s) -4
x 10
10
V (v) low side
0
GE
-10
-20
-2 -1 0 1 2 3
Time(s) -4
x 10
Figure 5. 1 Gate signal, low side with different DC bus link voltage
The motor which is coupled to stage revolve is connected as the load of the
inverter. No obvious dv / dt noise is observed from the gate signal VGE (Figure 5. 1)
while the DC bus voltage is 0 V. Then increasing bus voltage to 70V, the waveform is
still smooth except small oscillation in the rising period from 0V to 12V. The reason to
apply SVP is that this technique is efficient in removing harmonics at the high
62
Chapter 5 Experimental Results
modulation index compared with the sinusoidal PWM technique. In Figure 5. 2, the phase
voltage command contains the triple order harmonics that are generate by SVP However,
the triple order harmonics do not appear in the line voltage and the reference voltage
becomes a perfect sinusoidal waveform, which results in a perfect motor performance.
1
V P h a s e(V )
-1
-2
-0.025 -0.02 -0.015 -0.01 -0.005 0 0.005 0.01 0.015
Time(s)
2
V L in e (V )
-2
-4
-0.025 -0.02 -0.015 -0.01 -0.005 0 0.005 0.01 0.015
Time(s)
In the final test, 1500kg scenery is located on the corner of the stage as the full
unbalanced load and the total weight including revolve is 4000kg, as shown in Figure 5. 3.
The gate resistor is 180ohms. Manual and automatic starting processes are separately
tested on inverter prototype. The maximum speed is 42 seconds per revolution (1.4rpm),
63
Chapter 5 Experimental Results
and the total acceleration time is 30 second. The maximum speed and acceleration satisfy
the safety and comfortable requirements which are analyzed in chapter 2. The actor
standing on stage does not have any uncomfortable feeling in the whole process. By a
knob mounted on control box, the stage speed can be adjusted continuously and the
revolving stage can be controlled to move in both clockwise/ counterclockwise direction.
Based on the system tested, the current curves of the induction motor are drawn in
Figure 5. 4. In the initial period, because the rotor stays in a standstill, the starting current
jumps to 60 Amps (peak to peak value) which is approximately equal to the current value
in the Blocked-rotor test. Then the current value decreases with the increase of rotor
speed and reaches to rated value 8.6 Amps (RMS) when the rotor speeds to 1.4 rpm.
64
Chapter 5 Experimental Results
20
10
C u rre n t (A )
-10
-20
-30
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25
Time(s)
5
C u rre n t (A )
-5
-10
-0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0.03 0.04 0.05
Time(s)
R2
Pmech = Tmechωmech = I 2 2 (1 − s ) (5-2)
s
65
Chapter 5 Experimental Results
from Equation (5-1), (5-2) and (5-3), for three phase induction motor,
R
Tmechωsyn = 3I 2 2 2 (5-4)
s
equation (5-4) can be written as
R2
Tmech = 3I 2 2 (5-5)
sωsyn
Figure 5. 5 shows the gate signals,VGE , at 150 V and 34 V DC bus link respectively.
There are not obvious spikes on both curves. Meanwhile, during the rising period from 0v
to 10v, there is quite small voltage drop on the gate waveform. However, with the
objection of the layout of the prototype, above results are attained with a big gate resistor
(180Ω), which will bring remarkable switching loss and lead to low power efficiency in
the inverter. A detailed discussion on reasons and improvement methods of this problem
will be introduced in the next section.
66
Chapter 5 Experimental Results
GE
-10
V
-20
-3 -2 -1 0 1 2 3
Time(s) -4
x 10
Gate signal, VDC=34V, Load=1500kg
20
(v) low side
10
0
GE
-10
V
-20
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
Time(s) -4
x 10
67
Chapter 5 Experimental Results
consumed after time t2 does not represent “switching” charge; it is simply the excess
charge which be delivered by the drive circuit because the amplitude of the applied gate
drive voltage normally will be higher than the bare minimum required to accomplish
switching
68
Chapter 5 Experimental Results
by twisted pair, the parasitic stray inductance inevitably induces big voltage drop with
high di/dt accompanying with small gate resistances. Thus the oscillation occurs.
69
Chapter 5 Experimental Results
70
Chapter 5 Experimental Results
10
5 30
(v) low side
-5 25
GE
V
-10
-15
20
-20
4.8 4.9 5 5.1 5.2 5.3 5.4
Time(s) -5
V (V)
x 10
15
CE
Gate signal, VDC=30V, RG=15Ω
15
10
10
(v) low side
5
5
0
GE
-5
V
-10
-15 -5
4.8 4.9 5 5.1 5.2 5.3 5.4 4.8 4.9 5 5.1 5.2 5.3 5.4
Time(s) -5 Time(s) -5
x 10 x 10
Figure 5. 9 Gate signal with flyback transformer as power source of the drive
71
Chapter 5 Experimental Results
IGBT drive chip (Figure 5. 10)Figure 5. 10. In this topology, the floating common point is
absolutely isolated from other disturbance sources. With a 15 Ω gate resistor, distinct
oscillation is still observed in the gate signal, shown in Figure 5. 11. There is no notable
amelioration while the gate resistance is increased to 51Ω.
20
-20
-3 -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
Time(s) -6
x 10
Gate signal, RG=15Ω , VDC=60V, RL-Load
VGE(v) low side
20
-20
-3 -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
Time(s) -6
x 10
Gate signal, RG=51Ω , VDC=100V, RL-Load
VGE(v) low side
20
-20
-3 -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
Time(s) -6
x 10
72
Chapter 5 Experimental Results
Gate signal, RG=41Ω , VDC=150V, RL-Load Gate signal, RG=23Ω , VDC=100V, RL-Load
15 15
10 10
V GE(v) high side
5 5
0 0
-5 -5
-10 -10
-3 -2 -1 0 1 2 3 -5 0 5
Time(s) -6 Time(s) -6
x 10 x 10
Gate signal, RG=23Ω , VDC=150V, RL-Load Output of drive, RG=23Ω , VDC=70V,driver with 5A peak output current
20 15
15
10
V GE(v) high side
10
5
5
0
0
-5
-5
-10 -10
-3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3
Time(s) -6 Time(s) -6
x 10 x 10
73
Chapter 5 Experimental Results
From above tests, it is obvious that the DC-DC converters in original prototype can
provide fully isolated control power for IGBT driving channels. Meanwhile, the drive’s
output current is not a reason for gate signal oscillation. The possible cause may come
from imperfect layout, especially the long wires. In Figure 5. 14, a PCB board includes six
GB2B universal gate drives is connected to IGBT power module. A DSP board is
embedded into this PCB board to prevent the ribbon cable, which is used to transfer
PWM signals to drives, from being infected noise. This time a 10 Ω resistance is chosen
as gate resistor. The gate signal (Figure 5. 15) has substantial improvement. Under the
180V DC bus voltage, the voltage drop in oscillation is not low than 7 volt, which is
essential to make motors work without harsh noise.
15
10
5
VGE(v)
-5
-10
-15
-20
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
Time(s) -5
x 10
Because of a layout defect of the prototype, there are wires between bulk capacitors
and DC bus bar; herein the stray inductance induces very high surge voltages in the
process of charging and discharging bulk capacitors. As seen in Figure 5. 16 In order to
get rid of the effect of stray inductance which comes from the wire between DC bus bar
and IGBT’s collector, a commercial power module is replaced the prototype power
module. Other components keep as same as the former test. The result is drawn in Figure
5. 15Figure 5. 16 too. We find that the surge becomes bigger than former one. The reason
is that commercial power module’s built-in capacitance might induce resonance in the
circuit loop.
75
Chapter 5 Experimental Results
Gate signal, Vdc -bus=34.5V, RG=180Ω , Prototype Gate signal, Vdc -bus=34.5V, RG=180Ω , Commercial IGBT
15 15
10 10
5 5
V G E(v)
V G E(v)
0 0
-5 -5
-10 -10
-15 -15
-2 -1 0 1 2 3 4 -5 0 5
Time(s) -4 Time(s) -4
x 10 x 10
Collecter-emitter signal, Vdc -bus=34.5V, RG=180Ω , Prototype Collecter-emitter signal, Vdc -bus=34.5V, RG=180Ω , Commercial IGBT
120 300
100 250
80 200
V CE(v)
V CE(v)
60 150
40 100
20 50
0
0
-2 -1 0 1 2 3 4 -5 0 5
Time(s) -4 Time(s) -4
x 10 x 10
76
Chapter 5 Experimental Results
150
100
VCE(v)
50
-50
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
Time(s) -4
x 10
77
Chapter 5 Experimental Results
10
0
-10
-0.25 -0.2 -0.15 -0.1 -0.050 0.05 0.1 0.15 0.2 0.25
Time(s)
Current waveform @15Hz, Load=1750pounds, deadtime=2μs
Current(A)
10
0
-10
-0.25 -0.2 -0.15 -0.1 -0.050 0.05 0.1 0.15 0.2 0.25
Time(s)
Current waveform @14Hz, Load=1750pounds, deadtime=2μs
Current(A)
10
0
-10
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25
Time(s)
Current waveform @9.8Hz, Load=1750pounds, deadtime=2μs
Current(A)
10
0
-10
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25
Time(s)
78
Chapter 5 Experimental Results
Current(A)
0
-10
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25
Time(s)
Current waveform @9.8Hz, Load=1750pounds, deadtime=1.4μs
10
Current(A)
-10
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25
Time(s)
Current waveform @6Hz, Load=1750pounds, deadtime=1.4μs
20
Current(A)
-20
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25
Time(s)
79
Chapter 6 Conclusion and Future Work
6. Chapter 6
Conclusion and Future Work
6.1 Conclusion
80
Chapter 6 Conclusion and Future Work
implementation. Much of this comes from layout of the hardware. In chapter 5, numerous
pages are devoted to the oscillation problems in gate control signals. After a series of
tests, we have concluded that the gate drive layout is critical to avoid potential
oscillations, slow rise of gate voltage, loss of noise immunity, or reduction in efficiency
of the gate protection circuitry. If we did not take discrete components to set up our own
inverter, the above problems would have not been found with commercial products.
Meanwhile, the experience from this implementation will give some guidelines to future
work of IGBT related motor drives.
Due to the special operating schedule of the theatre, a wealth of options of future
practical work exists. One consideration is to implement position sensor circuits because
it is crucial in open loop accurate position control. According to analysis in chapter 4, in
practical realization, the open loop control with a number of position sensors could satisfy
requests of accurate position control with more simple/reliable software and hardware,
affordable cost being compared with complicated close-loop position control.
An additional contemplation is the improvement of layout by introduction of a PCB
board. Based on the similar layout of commercial product drive (BG2B), a big PCB board
includes six IGBT drives of the inverter; one IGBT drive of the breaker and I/O interface
to connect with DSP’s I/O output directly. In addition, the drive’s output I/O interface
which can be connected to power module directly should have enough ampere capacity of
2A.
An interesting subject for future work encompasses connection of bulk capacitors
and the DC bus bar. A pair of copper bus bar is an option for surge voltage removal. A
further solution is to embed the DC bus bar into the big PCB board.
Finally, a USB interface of the control box will be helpful in simplifying operation
of position control. Operators input new position command through a laptop USB
interface conveniently.
81
References
References
[1] Austin Hughes, Electric Motors and Drives, second edition, Nwenes, An imprint of
[2] H. B. Ertan, M. Y. Uctug, R. Colyer, and A. Consoli, Modern Electrical Drives, Kluwer
[3] Y. Li, “Designing and Implementing A DSP Based Variable-Speed Drive for Theatre Stage
System”, M. Sc. Thesis, Electrical & Computer Engineering Department, The University of
[4] Bimal K. Bose, Modern Power Electronics and AC Drives, Prentice-Hall, Inc.2003
[5] P. Wood, M. Battello, N. Keskar, and A. Guerra, Plug N Drive Application Overview,
[6] E. R. Motto, Hybrid Circuits Simplify IGBT Module Gate Drive, Powerex Inc., 1999.
[8] Data Sheet, 2.0 Amp Output Current IGBT Gate Drive Optocoupler, Agilent Technologies,
Inc., 2003
[9] Power flex, Dynamic Braking Resistor Calculator, Rockwell Automation, 2003
[10] Erwan Simon, Application report, Implementation of a Speed Field Oriented Control of
[11] Paul C, Krause, Oleg Wasynczuk, Scott D. Sudhoff , Analysis of Electric Machinery and
[12] V. M. Cardenas, S. Horta, R. Echavarria, "Elimination of dead time effects in three phase
inverters," in Proc. IEEE International Power Electronics Congress, vol. , no. , Oct. 1996,
pp.258-262.
[13] Application Note, Use Gate Charge to Design the Gate Drive Circuit for Power MOSFETs
[14] Application Note, How to use IGBT Modules, Powerex Inc, 1999
82
Appendix A Estimation of Moment of Inertia of the Stage
Appendix A
Estimation of Moment of Inertia of the
Stage
The moment of inertia of a complex structure, such as the stage, containing steel
frame and wood surface can in practice only be determined by approximation. Here an
estimation of the moment of inertia of the stage is given for simulation.
The moment of inertia of the stage can be calculated as J=MR2/2; with M being the
mass of the stage, R being the radius of the stage. The stage is a steel-framed
wood-covered structure. The estimation is given by the table below.
83
Appendix B Induction Motor Parameter Estimation
Appendix B
Induction Motor Parameter Estimation
Parameters on the nameplate of the machine are given in Table b.1.
Variable Value
3 hp
Rated output
(2.24kW)
Voltage 230 V
Frequency 60 Hz
Efficiency 89.5%
Table b.1 Nameplate data of the induction machine
Some tests have been carried out to estimate the detailed parameters of the
machine. Tests include dc test, no load test and block rotor test. Testing results and
parameter derivation are given below:
1) DC Test: rs = 1 / 2 = 0.5Ω
2) No-load Test
Vl −l , NL 205.2
Vas = = = 118.47V , I NL = 3.577 A
3 3
Q NL 1253
X NL = = = 32.64Ω
3I NL 3 × 3.577 2
2
3) Blocked-rotor Test
84
Appendix B Induction Motor Parameter Estimation
Vl −l , NL 28.35
3.1) Vas = = = 16.37V , I BR = 4.0015 A
3 3
PBR 56
RBR = = = 1.166Ω
3I BR 3 × 4 2
2
X BR = (Vas / I BR ) 2 − RBR
2
= (16.37 / 4.0015) 2 − 1.166 2 = 3.92Ω
X BR
X ls = X lr' = = 1.96Ω
2
Vl −l , NL 38.65
3.2) Vas = = = 22.31V , I BR = 5.995 A
3 3
PBR 129
RBR = = = 1.196Ω
3I BR 3 × 5.995 2
2
X BR = (Vas / I BR ) 2 − RBR
2
= (22.31 / 5.995) 2 − 1.196 2 = 3.524Ω
X BR
X ls = X lr' = = 1.762Ω
2
Vl −l , NL 48.75
3.3) Vas = = = 28.15V , I BR = 8.0295 A
3 3
PBR 230
RBR = = = 1.189Ω
3I BR 3 × 8.0295 2
2
X BR = (Vas / I BR ) 2 − RBR
2
= (28.15 / 8.0295) 2 − 1.189 2 = 3.298Ω
X BR
X ls = X lr' = = 1.649Ω
2
X ls = X lr' = 1.79Ω
85
Appendix B Induction Motor Parameter Estimation
'
4) Estimate rr from the torque-speed curve
XM 30.85 230
Vas ,th = Vas = = 0.945 × 132.8 = 125.5V
rs2 + ( X ls + X M ) 2 0.5 2 + 32.64 2 3
jX M (rs + jX ls )
rs ,th + jX ls ,th = = 0.4466 + j1.6987
rs + j ( X ls + X M )
86
Appendix C Clarke and Park Transformation
Appendix C
Clarke and Park Transformation
Clarke and Park transforms are used in high performance drive architectures related
to variable speed motor control Functions to implement Clarke and Park transforms will
be explored as follows.
Through the use of the Clarke transform, the real (Ids) and imaginary (Iqs) currents
can be identified. The Park transform can be used to realize the transformation of the Ids
and the Iqs currents from the stationary to the moving reference frame and control the
spatial relationship between the stator vector current and rotor flux vector.
Clarke transformation
Figure 1 Stator current in the stationary reference frame and its relationship with a,b,and c
stationary reference frame
The Clarke transform uses three-phase currents ia, ib and ic to calculate currents in
the two-phase orthogonal stator axis: iα and iβ. From Figure.1, the mathematical Clarke
transform can be written as
2 1
iα = ia − (ib − ic )
3 3
2
iβ = (ib − ic )
3
87
Appendix C Clarke and Park Transformation
2
io = (ia + ib + ic )
3
with iα and iβ components in an orthogonal reference frame and io the homopolar
component of the system.
In many applications, the homopolar component is absent or is less important. In
this way, in absence of homopolar component the space vector u = uα + juβ represents the
original three-phase input signal.
Consider now a particular case with iα superposed with ia and ia + ib + ic is zero, in
this condition ia, ib and ic can be transformed to iα and iβ with following mathematical
transformation:
iα = ia
1 2
iβ = ia + ib
3 3
ia + ib + ic = 0
ia = iα
1 3
ib = − iα + iβ
2 2
1 3
ic = − iα − iβ
2 2
Park transformation
The two phases α, β frame representation calculated with the Clarke transform is
then fed to a vector rotation block where it is rotated over an angle θ to follow the frame
d,q attached to the rotor flux.
88
Appendix C Clarke and Park Transformation
Figure 2 Stator current in the d,q rotating reference frame and its relationship with ,
stationary reference frame
The rotation over an angle θ is done according to the formulas:
id = iα cos(θ ) + iβ sin(θ )
The vector in the d, q frame is transformed from d, q frame to the two phases α,
β frame representation calculated with a rotation over an angle θ according to the
formulas:
iα = id cos(θ ) − iq sin(θ )
iβ = id sin(θ ) + iq cos(θ )
89