Beruflich Dokumente
Kultur Dokumente
I. I NTRODUCTION
Fig. 1.
0093-9994 2014 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
HERRERA et al.: FPGA-BASED DETAILED RT SIMULATION OF POWER CONVERTERS AND ELECTRIC MACHINES
[13] presented an RT implementation of a thermal model incorporated to an actual controlled full bridge for temperature
monitoring.
In EV drives, typical machines for traction drive include
interior permanent-magnet synchronous machine (PMSM), induction machines, and reluctance drives [14], [15]. One of the
most important factors that influences the dynamic and steadystate response of a machine is saturation. Although this topic
has been extensively studied for offline simulations [16], [17],
it is considerably new in its implementation for RT simulation.
In this paper, a new method to model the ON characteristics
of power converters is presented. This method is efficient in
that it does not need to switch between different matrices
based on the switching status. The ON-resistance and forward
voltage (functions of temperature and current) are implemented
as inputs to the system, and thus, the matrix representation is
maintained constant. This motivates the implementation of an
algorithm to efficiently model electrical and thermal behavior
of power converters. This algorithm can be used with any other
method for solving power electronics and was validated with
a real power converter. Finally, an efficient way to analytically
model the saturation characteristics of common three-phase ac
machines is derived and presented in detail.
This paper will be divided as follows: Section II presents the
proposed method to model the ON characteristics of power converters. This is followed by the parallel modeling of electrical
and thermal behavior of power converters. In Section III, different machine models are reviewed, and algorithms for taking
into account their saturation characteristics are discussed. The
electrothermal algorithm is validated in Section IV. An example
of a hardware-in-the-loop (HIL) model of an EV drive is shown
in Section V, taking into account the saturation characteristics
of the machine. Finally, a conclusion and future work are
discussed.
II. E LECTROTHERMAL M ODELING OF
P OWER C ONVERTERS
This section presents a method to efficiently compute the
characteristics of the switching devices. Based on this
approach, an electrothermal algorithm for parallel modeling of
power converters is proposed.
ON
A. Electrical Model
The MNA represents a switch as a resistor and current source
in parallel as shown in Fig. 2(a). By letting the resistor be a
constant value, the current source is changed as follows:
ik ,
if sk+1 = 1
JN =
(1)
GN vk , if sk+1 = 0.
Studying the equivalent equations of the circuit in Fig. 2(a),
we can see that the switch is represented as a small inductor
when ON and a small capacitor when OFF. Deriving the nodal
equations for a complete converter, the system is of the form
Axk+1 = uk xk+1 = A1 uk
(2)
1703
RTH ik ,
vk ,
if sk+1 = 1
if sk+1 = 0.
(3)
(4)
(5)
1704
TABLE I
S IMULATION PARAMETERS FOR C IRCUIT AND P ROPOSED
M ODEL VALIDATION
Fig. 5.
(8)
= i vf i , Tj , where {i, d}.
Pcond
These conduction losses are included in the electrical model,
and the forward voltage will be modified depending on i and
Tj through each device. To take into account the switching
losses in the electrical model will require detailed knowledge of
the device. For example, the leakage inductances of the device
affect the transient response at different levels. Since a highly
elaborate model of the device increases complexity and overall
time step, the switching losses will be calculated using the
device datasheets [10]. The switching energy is usually given
for an IGBT as follows:
i
i
i
= Eswon
+ Eswo
Esw
(9)
(10)
C. Algorithm
Fig. 4. Thermal model for an IGBT and diode inside the same module.
B. Thermal Model
The thermal behavior of a switch from its junction temperature to the case is typically specified in the data sheet. Since the
junction temperature is given by
Tjc = Zth,jc Ploss
(6)
(7)
HERRERA et al.: FPGA-BASED DETAILED RT SIMULATION OF POWER CONVERTERS AND ELECTRIC MACHINES
1705
and power balance (11) can be achieved. The RT implementation and validation of the results presented will be shown in
Section IV.
Fig. 6.
sr
sr
sr
= psr
vdq
dq + dq + Ridq
(13)
sr
sr
4
where p := d/dt, , R R44 , vdq
, sr
dq , idq R . The matrices , R are shown in Appendix B.
One of the most influential elements that affect the machine
dynamic response is core saturation. However, the model in
(13) does not consider saturation in the mutual inductance. Although several studies of modeling electric machines in FPGA
have been presented in the literature (e.g., see [4], [5], and [8]),
very few have modeled these with saturation characteristics. For
this reason, we briefly review what has been done to account to
model saturation in FPGA and present implementation of these
characteristics using a mathematical derivation.
(11)
Psw
Vin
(12)
A. Saturation Modeling
Saturation of an inductor occurs when its core can no longer
store magnetic energy. For example, a typical B-H curve gives a
good representation of saturation as the magnetic field strength
(H) increases and the flux density (B) remains constant. The
main effect of saturation in an ac machine occurs in its mutual
inductance Lm . The leakage inductances of the stator and rotor
remain in air for a significant part of their path, and thus,
saturation does not often occur.
1) FEA Methods: Recent studies have focused on using
finite-element analysis (FEA) to simulate saturation for a threephase machine, particularly PMSM [19], [20]. The machine is
designed using an FEA software such as JMAG [21], and the
saturation characteristics are stored in lookup tables. For FPGA
implementation, these tables are then a function of different
currents id , iq and rotor position r . These tables need to be
quite dense in order to avoid any large jump discontinuities.
This can then be major drawback causing incorrect transient
behavior.
1706
Ldq
Ldd
Ldq
Lls + Ldd
Lls + Lqq
Ldq
Lqq
Ldq
L =
Ldd
Ldq
Llr + Ldd
Ldq
Ldq
Lqq
Ldq
Llr + Lqq
0
0
0
0
0
0
0
0
Lr =
. (20)
0
(Llr + Lm )
0
Lm
0 (Llr + Lm )
0
Lm
Thus, (19) constitutes the new dq model of a three-phase
induction machine including saturation. The same idea is followed to derived saturated models for other types of machines.
(14)
(15)
(16)
(17)
(18)
B. Computational Algorithm
The saturation model presented in the previous section only
requires knowledge of the saturation curve, such as that in
Fig. 8. Therefore, this curve can be represented as
|i |
L
for |im | < |imc |
|m | (|im |) = m m
(21)
f (|im |) |im | for |im | |imc |
m is the slope of the linear region, and f(|im |)|im |
where L
is a (interpolated) function describing the nonlinear saturated
region. In order to make sure there is a smooth transition
between the unsaturated to saturated region or vice versa, it
is required that the function |m |(|im |) C 1 , i.e., continuous
and with continuous first derivative. This will ensure that at the
point |imc |, Lm (|imc |) = Ly (|imc |).
For the FPGA implementation, (19) should be transformed
into state-space form as
disr
dq
1 sr
= L1 (R Lr )isr
dq + L vdq .
dt
(22)
(23)
for A = L1 (R Lr ) and B = L1 .
However, several challenges arise from (23): The matrices
are time varying and nonlinear, and L1 need to be computed
at every time step. A general procedure for the computation of
the induction machine system with saturation is shown in Fig. 9.
There are different options to compute L1 at every time step.
Since it is a symmetrical matrix, a Cholesky decomposition
could be used. However, we can see that although this matrix is
a function of and |Im |, it is found that det(L) is independent
of , i.e.,
sr
sr
sr
= Risr
vdq
dq + Lr idq + Lp idq .
det(L) = d1 (Lm + Ly ) + d2 Lm Ly + d3
(19)
(24)
HERRERA et al.: FPGA-BASED DETAILED RT SIMULATION OF POWER CONVERTERS AND ELECTRIC MACHINES
Fig. 9.
1707
TABLE III
T HERMAL PARAMETERS
1708
Fig. 14. Comparison of the experimental and RT results by a change in voltage input. (a) Experimental results. (b) RT results.
Fig. 15. Comparison of a change in power to validate the algorithm and the
thermal model.
Fig. 16.
Fig. 17.
d
recovery current are assumed to be constant at Psw
= 3 W. The
time steps of the boost converter, the power loss algorithm, and
the thermal model are Ts = 200 ns.
HERRERA et al.: FPGA-BASED DETAILED RT SIMULATION OF POWER CONVERTERS AND ELECTRIC MACHINES
1709
Fig. 18. HIL results of an EV drive system. (a) System response to step input. (b) HIL closed-loop speed control.
TABLE IV
RT EV D RIVE S IMULATION PARAMETERS
Fig. 19. Saturation characteristics of the machine in Table IV. (a) Mutual flux.
(b) Dynamic and static inductance.
B. RT Results
The achieved time step of the EV drive without saturation
is Tsunsat = 200 ns and with saturation is Tssat = 650 ns. One
of the advantages of a fast simulation time step is the possibility of running the model at higher switching frequencies.
In Fig. 18(a), the inverter is switching at Fsw = 24 kHz. In
here, rated voltage is applied to the machine without closedloop control.
In Fig. 18(b), vector control is used to regulate the machine
speed and flux. The details of the control can be found in [25].
The impact of the saturation in the magnetizing flux to the
controller is part of future study.
The saturation of the motor is illustrated in Fig. 20. It is
possible to see that the starting electromechanical torque for
the saturated condition has lower magnitude than that for the
unsaturated one. Furthermore, the torque frequency and phase
are not affected by the saturation, validating previous results in
saturation modeling [16], [17], [26], [27].
VI. C ONCLUSION AND F UTURE W ORK
In this paper, a platform for modeling detailed power converters and electric machines geared toward EV applications
has been developed. A switch representation including the
ON parameters was proposed in Section II. Using this switch
representation, an algorithm for electrothermal modeling of
power converters was presented. In addition, this model was
validated using a Powerex PS22A78-E IPM.
1710
Fig. 20. Results for the machine with input voltage fundamental frequency of
f = 30 Hz.
R + r
0
1
0
L
l
iL
i
i
RTH 1
0
id
RTH
1
1
0
RTH
vsw
1
vout
0
1
0 Gc + rload
Vin EthL
i
ETH
d
ETH
Jcap
(26)
n
, and EthL =
where RL = L/Ts , Gc = C/Ts , Jcap = Gc Vout
RL iL k . Finally, the voltage input for the IGBT is given by
i
RTH
(iL k id k ) + Vce k , if sik+1 = 1
i
ETH k+1 =
if sik+1 = 0
vsw k ,
(27)
if sdk+1 = 1
if sdk+1 = 0.
(28)
(29)
1
0
C1i
.
..
.
.
.
1
0
Ci
N
1
0
C1d
Bth =
..
..
.
.
1
0
d
CN
1
1
Ccf Ccf
Cth
1
Cfa
1
0
=
0
0
1
Cfa
1
0
0
0
0
1
0
0
0
1
0
0
1
1
1
0
1
1
1
1
, Dth =
1
1
1
1
(30)
HERRERA et al.: FPGA-BASED DETAILED RT SIMULATION OF POWER CONVERTERS AND ELECTRIC MACHINES
0
0
0
0
=
0
0
0
0
0 ( r )
0
0
( r )
0
R = Diag (rs , rs , rr , rr )
(31)
(32)
1711
1712