Hysteresis Modeling in The Matlab/Power System Blockset: Silvano Casoria, Member IEEE, Patrice Brunelle, Gilbert Sybille
Hysteresis Modeling in The Matlab/Power System Blockset: Silvano Casoria, Member IEEE, Patrice Brunelle, Gilbert Sybille
Hysteresis Modeling in The Matlab/Power System Blockset: Silvano Casoria, Member IEEE, Patrice Brunelle, Gilbert Sybille
current (Ic) and its slope (dΦ/dI) depend on the core Where sgn = 1 for an ascending trajectory and –1 for a
material. descending trajectory.
The parameters α, c, b are related to the residual
(remanent) flux Φr, coercive current Ic, and slope dΦ/dI at the
coercive current as shown in Fig. 1. The parameters a and e
are related to the saturation point coordinates Is and Φs. These
parameters are calculated by solving a set of non-linear
equations during the parameterization step, presented in the
next section, using the hysteresis design tool.
During simulation, the model uses the inverse relation I(Φ)
since the independent or input variable is the flux. The inverse
relation is defined as a series of N equidistant points
connected by line segments. A table containing the
coordinates of these points (In, Φn) and the segments slope is
defined by solving iteratively a set of non-linear equations.
B. Minor loops formation
To generate the closed minor loops we apply the
fundamental characteristic 3 given before. It stipulates that
Fig. 1. Hysteresis loops. each curve tends to return to the previous-to-last point of
reversal, e.g. reversal point 1 on the ascending half of the
2. In transient conditions an oscillating magnetizing current
major loop in Fig. 3. Effectively, after detecting a reversal at
will produce minor asymmetrical loops, as shown in Fig.
point 2, a new trajectory 2-1 is calculated. First, Dmax, which
2 and all points of operation are assumed to be within the
major loop. Loops once closed have no more influence on is the distance between the reversal point 2 and the
the subsequent evolution. appropriate half of the major loop is calculated. In addition,
3. Inside a minor loop, the magnetizing curve depends only the vertical distance Dmin between 1 and the major loop is
on the last two reversal points, and each curve tends to defined (0 in this example). By assuming, that the vertical
return to the reversal point previous-to-the last (e.g. the distance D decreases linearly with Φ, that is the independent
evolution 1-2-3-4-3-5-2-6-1) in Fig. 2. variable, all the points of the trajectory are then defined. A
linear relation D(Φ) of D as function of the flux is found at
each reversal point and is stored in memory along with the
coordinates of this point. Memorization is important in order
to represent properly the behavior of embedded loops as the
evolution on Fig. 2 illustrates.
reverses at point 5. Next, the reversal point 2 is overtaken in value and consequently the condition is not detected. In series
the evolution 5-2-6, and the parameters of the trajectories A, the reference is such that the condition is detected and the
constituting the loop 2-5-2 are discarded. Finally, the curve procedure applied.
continues on the trajectory 6-1.
C. Special conditions
The assumption of linear dependence of D(Φ) on Φ can lead
to the difficulty where for certain values of F, the minor loop
trajectory would lie outside the major loop, as in Fig. 4. To
avoid this, the trajectory is tested and constrained to follow
the major loop. This situation arises only near the saturation
points and the small correction introduced to the trajectory
would not significantly affect the model accuracy.
Fig. 5. Very small minor loops (series B) are approximated by line segments
(series A).
D. Initial trajectory
At the beginning of the simulation the initial trajectory
must be specified. The trajectory depends on the operating
point past evolution, i.e. by the last two reversal points.
Assuming that the last reversal point is situated on the major
loop, the initial trajectory would be determined by the
Fig. 4. Solution to a probable illegal operating condition.
residual flux value and on the reversal point position on either
Two other operating conditions should be identified in the ascending or descending half. An increasing flux initially
order to avoid generating superfluous internal loops or indicates that the reversal point is on the descending half and
trajectories. In the hysteresis design tool, two tolerances can vice versa for a decreasing flux. Figure 6, illustrates the two
be adjusted: TOL_F (% of Fs) and TOL_I (%of Ic). These possibilities (trajectory A and B) for a residual flux of 0.1 pu.
parameters trigger detection of one of the following two
conditions:
1. Closed minor loops in steady state.
2. Very small minor loops, whose internal surface may be
neglected.
may specify the residual flux value or it is automatically IV. MODEL IMPLEMENTATION
adjusted so that the simulation starts in steady state. The hysteresis and saturation characteristic of the Saturable
Transformer of PSB is built with Simulink blocks. The Fig. 8
III. MODEL PARAMETERIZATION illustrates the corresponding electrical model for one phase
The parameters of the hysteresis major loop and the single- implemented into the Power System Blockset. The winding
valued saturation characteristic are specified in the hysteresis resistances and leakage inductances as well as the core active
design tool user interface available with the Power System losses resistance Rm of the saturable transformer are modeled
Blockset. The remanent flux, the saturation flux and current by state variables. This state-space model is incorporated into
points, the coercive current, and the slope of the flux at the the global linear state-space system of the rest of the network
coercive current point can be entered in pu or in SI units. In connected to the transformer terminals.
addition, two vectors of current-flux pair of points specify the
saturation characteristic. The graphical user interface tool is
illustrated in Fig. 7.
Fig.7. Graphical user interface for the design of the hysteresis and saturation
characteristic.
and outputs the magnetization current. 3. At first zero crossing after the breaker opening order, the
The parameters that define the hysteresis model and also current is interrupted and a flux of 0.83 pu stays trapped
the saturation region are passed to the S-Function via a in the transformer core.
MATLAB data file. When the simulation is started in 4. The breaker is reclosed at t = 9 cycles, at a zero crossing
Simulink, the S-function first calculates the initial trajectory of source voltage, producing an additional flux offset of
based on the initial flux and on the sign of the initial approximately 1.02 pu. The peak flux now reaches 1.85
magnetization voltage across the magnetizing branch. pu, driving the transformer into the saturated region. Peak
The S-function continuously monitors the flux and controls magnetization current is 0.81 pu.
the Simulink switches when the flux leaves the minor loop
region to enter in the saturation region or when the flux leaves
the major hysteresis loop to enter in the minor loop zone. The
function also calculates the trajectories and evolution of the
internal minor loops and outputs the current as a function of
the input flux.
V. APPLICATIONS EXAMPLE
Fig.10. illustrates the simulation of the hysteresis in a
saturable transformer block of the PSB. Phase A of the
primary winding is connected on a 500 kV network, and the
secondary is not connected to any load. The transformer is
rated 500 kV/230 kV, 450 MVA (150 MVA per phase) and
the flux-current saturation characteristic of the transformer
was modeled with the hysteresis design tool. The air core
inductance, i.e. the last segment of the saturation
characteristic, is 0.4 pu.
A programmable source is used to vary the internal voltage Fig.11. Simulation results for the flux and magnetization current of the
of the equivalent 500 kV network. During the first 3 cycles saturable transformer.
the source voltage is programmed at 0.8 pu. Then at 50ms, the
voltage is increased to 1.1 pu. In order to illustrate remanent
VI. CONCLUSIONS
flux and inrush current at transformer energization, the circuit
breaker initially closed is first opened at 0.1 s, and then it is The paper presents a model of the static hysteresis effect
reclosed at 0.15 s. of the ferro-magnetic core in power transformers. This model
is suitable for simulation of switching transients and has the
capability of representing minor loops. It is conceived
according to principal characteristics of transformer core
obtained experimentally and given in the literature. The
model, that can also represent the saturation characteristic, has
been implemented in the latest Matlab/Power system Blockset,
and included as an option in the Saturable Transformer model.
Fig.10. Power System Blockset diagram of the application example.
The model is based on the characteristics of the major
The initial flux in the transformer is set at zero and the hysteresis loop out of which the internal trajectories are
source phase angle is adjusted at 90 degrees so that the flux defined using the translation principal and a linear
remains symmetrical around zero when simulation is started. compensation to generate closed loops. An arctangent relation
The following observations can be made on the simulation between the flux and the exciting current is defined. The
results of Fig.11: expression parameters are deduced by curve fitting empirical
1. From 0 to 0.05 s, the voltage and flux peak values are at 0.8 data defining the major loop or the single-valued saturation
pu. Typical square wave of magnetization current can be characteristic. A hysteresis design tool consisting of a
observed. As no remanent flux was specified, the graphical user interface (GUI) allows precise adjustment to
magnetization current and the flux are symmetrical. The any hysteresis major loop or saturation characteristic.
flux travels on minor loops. The major hysteresis loop and the saturation characteristic
2. From 0.05 to 0.1 s, the voltage is raised to 1.1 pu. The are implemented with look-up tables for a fast an efficient
flux now reaches 1.1 pu and it travels on the main simulation. A Simulink S-function contains the algorithm
hysteresis loop. Current pulses appear on the controlling the transition between the major loop and the
magnetization current indicating beginning of saturation.
internal minor loops, calculates the minor loops trajectories,
and outputs the magnetization current.
6
VII. REFERENCES
VIII. BIOGRAPHIES