Sunteți pe pagina 1din 7

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/286641190

Implementation of the preisach model in MATLAB

Article · January 2012

CITATION READS

1 1,674

6 authors, including:

Norbert Franz H.P. Oepen


University of Hamburg University of Hamburg
10 PUBLICATIONS   14 CITATIONS    164 PUBLICATIONS   3,227 CITATIONS   

SEE PROFILE SEE PROFILE

Dietmar Möller
Technische Universität Clausthal
182 PUBLICATIONS   416 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Center for Hybrid Nanostructures (www.chyn.de) View project

Reference View project

All content following this page was uploaded by Norbert Franz on 09 October 2016.

The user has requested enhancement of the downloaded file.


Implementation Of The Preisach Model In MATLAB
Norbert Franz1*, Bernd Güde2, Andreas Meyer3, Tobias Kipp2, Hans Peter Oepen1, and Dietmar P.F. Möller2
1
Institut für Angewandte Physik, Universität Hamburg, Jungiusstraße 11, 20355 Hamburg (Germany)
2
Arbeitsbereich Technische Informatiksysteme, Universität Hamburg,
Vogt-Kölln-Straße 30, 22527 Hamburg (Germany)
3
Institut für Physikalische Chemie, Universität Hamburg, Grindelallee 117, 20146 Hamburg (Germany)

Keywords: Compact model, ferromagnetic nanostructures, Jiles-Atherton model [4] that describes hysteresis for
hysteresis, MATLAB, rapid prototyping. ferromagnetic nanostructures only. From an engineer’s point
of view a mathematical model for hysteresis could serve as a
Abstract compact description for the electronic properties of
In the Preisach model a ferromagnetic structure is divided ferromagnetic nanostructures. Recently ferromagnetic
into magnetic domains, each switching between two nanostructures such as spin valves or magnetic vortices have
different states. The hysteresis for a single domain is a gained attention because they overcome most drawbacks of
rectangular-shaped hysteresis loop with an upper switching conventional technologies like static random-access
point α and a lower switching point β. The hysteresis of the memory, dynamic random-access memory or Flash memory
whole ferromagnet is the superposition of all loops cells [5-7]. Devices like field-effect or bipolar transistors
involved. The Preisach model comprises a weighting have been modeled through equivalent electrical circuits.
function µ(α,β) for every pair (α,β) that needs to be Well-known examples are the Shichman-Hodges model or
determined for every hysteresis curve from experimental the Ebers-Moll model [8, 9]. In contrast to modeling the
data a priori. From a physicist’s point of view the Preisach behavior of a ferromagnetic device in a similar manner, the
model could be employed for studying ensembles of Preisach model could yield even better performance in terms
ferromagnetic particles. The model can serve as a link of complexity and accuracy. Although it is one of the oldest
between theory and experiment in order to describe a models for hysteresis, yet the Preisach model is hardly used
microscopical system by a macroscopical measurement. for compact modeling in circuit design.
From an engineer’s point of view a mathematical model for
hysteresis could serve as a compact description of a 2. MATHEMATICAL MODELING
ferromagnetic device in an electrical circuit. The case study
presented here shows how the weighting function µ(α,β) is The term hysteresis was coined Ewing [10]. In 1890 he
determined for given values of (α,β). The investigation is discovered that in electromagnets the change of
carried out within the development environment MATLAB. magnetization was delayed behind the change of the applied
It is a standard available to many researchers in academia electrical current. In 1935 Preisach noted that there existed
and industry and conveniently provides all necessary no theory why magnetization was inert [1]. He had
functionality. performed switching experiments and measured the
response of a ferromagnetic sample. A fraction of the
1. INTRODUCTION magnetization’s inertia was caused by what Preisach called
the “magnetische Nachwirkung”, or magnetic aftereffect.
From a physicist’s point of view the Preisach model [1] Preisach identified the reason for the magnetic aftereffect to
could be employed for studying ensembles of magnetic be the Barkhausen effect: discontinuous jumps in the
particles by modeling energetic aspects aside the common magnetization of a ferromagnet during the sweep of the
Stoner-Wohlfahrt model [2], which allows for a direct applied magnetic field. Preisach concluded that a
comparison with experimental measurements. Even thermal ferromagnetic sample consisted of different domains that
effects could be considered. In the literature this is referred were uniformly magnetized. Following this assumption each
to as magnetic viscosity [3]. The Preisach model can serve domain can be characterized by a coercive force and a
as a link between theory and experiment in order to describe rectangular-shaped magnetization loop. Hence, different
a microscopical system by a macroscopical measurement. elementary loops may possess different widths (that is,
The Preisach model is a phenomenological model since it individual switching points α and β.). An elementary
does not give an explanation why the magnetization of a hysteresis loop is sketched in figure 1. For each loop α ≥ β
single domain switches when excited. Its phenomenological applies. The hysteresis of the whole system is the
nature also implies that the Preisach model could be used to superposition of all elementary hysteresis loops. At this
describe any system that shows a hysteretical behavior [3]. point it is evident that Preisach’s idea may be applied to any
A well-established alternative to the Preisach model is the system beyond ferromagnetic nanostructures that shows
hysteresis. An influential work on the mathematical ≥ α0 all hysterons have switched to +1. This situation is
modeling of hysteresis has been carried out by called the positive saturation. In negative saturation all
Krasnosel’skiĭ and Pokrovskiĭ [11]. Both consider an hysterons have switched to −1. Starting in saturation yields a
elementary hysteresis loop as a static non-linear transducer, well-defined state to begin with. Following Mayergoyz’s
which they call a hysteron. On the basis of their work notation we denote with S+(t) the set of pairs (α',β') for
Mayergoyz developed a theory of the Preisach model [3], which γα'β' = +1. This set may change over time. Accordingly
which in turn will be the basis for the results presented in S−(t) represents the set of pairs (α',β') for which γα'β' = −1. It
this article. Earlier Cross and co-workers developed a follows that:
program for applying the Preisach model to unemployment
rates using the MATLAB-like program RLAB [12]. In
contrast to physical or technical systems unemployment
f(t) = ∫∫ µ(α, β)dααd − ∫∫ µ(α, β)dααd . (3)
S+ (t) S− (t)
rates show no saturation, that is to say no absolute
maximum and minimum exists. Cross and colleagues
assumed an equal weight of the hysterons, which might not Starting in positive saturation yields S−(t) = T and S+(t) = ∅.
be a realistic assumption in physical and technical systems. If then an upsweep is performed to the value u(t) = α' the
If the input signal to the hysteresis transducer is denoted as border L(t) between S−(t) and S+(t) is a horizontal line within
u(t) and the output of the transducer as f(t) it follows that the Preisach plane. Any downsweep of the input signal
corresponds to a vertical line in the Preisach plane. For a
+ 1 if u (t ) ≥ α complete sweep of the input signal L(t) is a step function,

f (t ) = γ αβ [u (t )] =  k if
see figure 2. More details on the shape of L(t) can be found
β ≤ u (t ) ≤ α , (1)
− 1 if in Ref. [3].
 u (t ) ≤ β

where the operator γαβ denotes the hysteresis transducer that


is applied to the input u(t) and k ∈ {+1,−1} denotes the
previous state of f(t). The operators can be interpreted as
relays with two possible configurations, "up" and "down".
From this intuitive definition it is clear that a hysteresis
transducer acts like a memory cell and that the current
output value depends on the previous input history. Summed
up over all hysterons in the system, the function f(t) can be
written as

f(t) = ∫∫ µ(α, β)γαβ [u(t)]dααd ,


α≥ β
(2) Figure 1. Sketch of a rectangular-shaped hysteresis loop.
The input is u(t) and the output is f(t) = ± 1. At an input u(t)
≥ α f(t) is equal to +1, whereas if u(t) ≤ β f(t) = −1. The
where µ(α,β) is the not yet specified weighting function,
arrows indicate the two possible sweeps, up (from negative
sometimes also referred to as the Preisach function. Before
saturation to positive saturation) and down (from positive
using the Preisach model, the weighting function has got to
saturation to negative saturation).
be extracted from measured data. Similar to a neural
network, the hysterons have got to be conditioned before an
unknown input can be applied. The weighting function can An important feature of a hysteresis transducer is the so-
be seen for example as a means to reflect the density of called wiping-out property. Each local maximum wipes out
hysterons switching at the same switching points and the pairs (α',β') whose α-coordinates are less than the local
therefore the weighting function can provide insights on the maximum. Accordingly each local minimum wipes out all
composition of magnetic domains within the ferromagnetic pairs (α',β') whose β-coordinates are greater than the local
sample. The function µ(α,β) is defined over the range of minimum. An important prerequisite for the implementation
pairs (α,β). Each pair corresponds to a certain hysteron. of the Preisach model is the following definition from Ref.
Already in his article Preisach suggested to interpret this [3]. It is assumed that we begin in (negative) saturation. The
relation geometrically. All pairs (α, β) can be plotted in a input u(t) is then increased up to u(t) = α'. The
plane formed by α and β. Sometimes this plane is referred to corresponding output value is denoted as fα'. This value lies
as the Preisach plane; it is shown in figure 2. Since α ≥ β on a curve that is referred to as a major loop for the
applies, all pairs (α,β) lie within a triangle T. If the input u(t) upsweep, because the sweep began in saturation. If a sweep
does not start in saturation, the current output value depends triangles; mk and mk−1 are the respective local minima. For k
on the previous history. When the output value of the = 1 m0 = β0. It directly follows that
hysteresis transducer is fα' and the input is afterwards
decreased down to a value u(t) = β', the corresponding n(t)

output value is denoted as fα'β'. This definition indicates that ∑


k =1
∫∫ µ(α, β)dααd = F(M k ,mk −1 ) − F(M k ,mk ) . (6)
a downsweep on a minor loop is performed, since the Qk (t)
maximum of the input on this loop is α'. Mayergoyz
introduces another function The n-th minimum is equal to u(t). The situation is similar
for an upsweep of u(t). More details can be found in Ref.
F(α ' , β' ) =
1
2
( )
f α' − f α' β' = ∫∫ µ(α, β)dααd , (4)
[2].
T(α ', β' )
3. CASE STUDY – HYSTERESIS IN AN
ENSEMBLE OF MAGNETIC NANOPARTICLES
with T(α'β') being the triangle that is added to S−(t) and
subtracted from S+(t) during the downsweep from u(t) = α'
We now consider a planar system of nanometer-sized
to u(t) = β'.
ferromagnetic dots having a perpendicular anisotropy with
respect to the surface [13]. The question now is if a
measured hysteresis of such an ensemble could be
reconstructed by the Preisach model, assuming a
superposition of symmetrical hysterons. Magnetic
nanometer-sized dots were fabricated on the basis of an
optimized perpendicular film (Cap - Pt4 nm/Co1.3 nm /)1x.
Optimized self-organized Fe-cores act as a shadow mask
during the structuring process via an argon-plasma
sputtering technique under vacuum conditions. The dots are
perpendicular to the sample’s surface.

Figure 2. Sketch of the Preisach plane. An upsweep from


negative saturation up to α1 is performed followed by a
downsweep down to β1. Negative saturation occurs if the
input u(t) ≤ β0 and positive saturation if the input u(t) ≥ α0.
All points lie within the triangle T, since α ≥ β applies. A
symmetrical hysteresis is assumed, because β0 = α0. The
border between the sets S−(t) and S+(t) is a horizontal line
for an upsweep of u(t) and a vertical line for a downsweep.

Accordingly one finds for the downsweep from positive


saturation to negative saturation F(α0,β0) = ∫∫T µ(α,β) dαdβ, Figure 3. Image of the ensemble of particles for the case
where T as before is the limiting triangle of the Preisach study. The image has been recorded with a scanning
plane (see also figure. 2). One can switch from a electron microscope (SEM). Only dots which do not
downsweep to an upsweep by exchanging the coordinates α interfere with the image-boundaries were used to determine
and β. Following Mayergoyz’s suggestion for the the median diameter. The median diameter of the dots is 24
downsweep, S+(t) is divided into n trapezoids Qk with n nm and the median distance between neighboring dots is 30
being the number of vertices (α,β) during the sweep of u(t): nm. The length scale at the bottom on the right-hand side
(white bar) is 100 nm.
n(t)

∫∫ µ(α, β)dααd = ∑
k =1
∫∫ µ(α, β)dααd . (5) The optimized perpendicular anisotropy provides a higher
S +(t) Qk (t) thickness of the Co layer, which in turn gives a higher
magneto-optical signal and a better signal to noise ratio,
Each trapezoid is the difference of two neighboring triangles respectively. The optimized Fe-cores provide a long range
T(Mk,mk−1) and T(Mk,mk). Mk is the local maximum of both order and a narrow size distribution with a median diameter
of 24 nm and a median distance of 30 nm. Thus they can be switch down. Then f(t) = – F(α0, β0 ) . The wiping out
interpreted as a very closely packed hexagonal system. After property of this measurement implies that only the initial
the structuring process, the magnetic film between the dots state at k = 0 and the local maxima Mn affect the present f(t)
is completely removed except for the remaining film
shadowed by the Fe-cores. Figure 3 shows an SEM image of f(t) = − F(α 0 , β0 ) + 2(F(M n , β0 ) − F(M n ,u(t)) . (7)
the sample for which we determined the weighting function
µ(α,β). With the given set of FORCs in figure 6 it is now possible to
evaluate the weighting function µ(α',β') numerically. A
twofold differentiation of Eq. 4 yields

1 ∂ fα ' β '
2
µ (α ' , β ' ) = . (8)
2 ∂β ' ∂α '

The above mentioned rate fα'β' depends on local maxima α'


or Mk. A further differentiation over all FORCs with respect
to these α' at fixed β' values yields the values for µ(α',β').
The implementation was realized by applying the gradient
function on a 137 x 298 matrix fα'β', along the dimension α'
and β'. The triples (µ α'β',α',β') allow for a comparison with
the measured hysteresis. Eq. 7 and its counterpart for
Figure 4. Sketch of the alternating coil-current I(t)=u(t)
increasing fields provide the basis of the numerical
with a decreasing positive amplitude plotted against time in
implementation of the Preisach model (see Ref.[2]).
arbitrary units.
Accordingly the MATLAB code splits into two while loops.
For a decreasing input after a local maximum Mn or α' is
The magnetic characterization performed through the polar
passed, the sum of µ α'β'-weighted hysterons according to β(t)
Magneto-optic Kerr effect (MOKE) with an alternating and
decreasing magnetic field is expressed in terms of a coil
≥ u(t < tn) is subtracted until a local minimum mn or β' at the
field reversal is reached. By an increasing input u(t), the
current, see figure 4. The magnetic field acting on the
ensemble can be calculated with a conversion factor of 51 sum of µ α'β'-weighted hysterons according to α(t) ≤ u(t) is
mT/A. added to the local minimum mn-1 of the foregoing minor
loop.

Figure 5. Input function (coil current) for the major loop in


our case study plotted against time in arbitrary units. Figure 6. Normalized polar rotation as the system’s
response f(t) of an ensemble of magnetic perpendicular
nanometer-sized particles triggered by the input u(t) plotted
4. RESULTS AND DISCUSSION against the input current. 137 minor loops starting from the
initial state of negative saturation (m0 = β0 = – 6 A) up to
Each first order reversal curve (FORC) in figure 6 is damped amplitudes MK = α' were measured.
characterized by a fixed α' value meaning the loop is
switched to fα' at α'. Following Mayergoyz’s notation, this Synthesis of the major loop: If we assume non-interacting
maximum value would be denoted as Mk. Decreasing the particles, this leads to non shifted hysterons in contrast to
field with u(t) towards β'=β0 (= mk) causes the loops to the hysteron shown in figure 1, which shows the particular
case of a strong mean field Hi = (αi + βi) / 2 > 0. Then the experimentally obtained Preisach function µ(α,β) and its
resulting coercive fields can be calculated by Hc.i = (αi − βi) integration in the numerical Preisach model. Further
/ 2 > 0 [14]. Here the index i denotes the i-th loop from the investigations regarding to possible correlation effects, i.e.
measurement. Hi would vanish for αi = −βi. With the given particle interactions, which could be determined from µ(α,β)
set of values µ i(α.i, βi) (Preisach plane not shown), and a are necessary. A sketch of the Preisach plane and the
triangular-shaped input u(t), we are now able to prove this MATLAB code will be provided on request. Considering
assumption and recalculate the major loop with our the symmetry of the particle system, it is obvious to mirror
MATLAB program, see figures 6 and 7. the FORCs in figure 6 leading to an enhanced Preisach
plane.

References

[1] Preisach, F. 1935. “Über die magnetische


Nachwirkung.” in Zeitschrift für Physik A Hadrons
and Nuclei, 94, no. 5, (May):277–302.
[2] Stoner, E.C., and E.P. Wohlfarth. 1948. “A
Mechanism of Magnetic Hysteresis in Heterogeneous
Alloys.” in Philosophical Transactions of the Royal
Society A: Physical, Mathematical and Engineering
Sciences, 240, no.826:599–642.
[3] Mayergoyz, I.D. 1991. Mathematical Models of
Figure 7. Modeled hysteresis (gray solid line) and the
Hysteresis. Springer, New York.
measured major loop (black solid line) plotted against input
function (coil current). The black dashed line is the [4] Jiles, D., and Atherton, D. 1983. “Ferromagnetic
symmetrized measured major loop. Hysteresis.” in IEEE Transactions on Magnetics, 19,
no. 5:2183–2185.
Figure 7 shows a relative good agreement towards higher
fields. Some deviations however can be attributed to the [5] Prinz, G.A. 1998. “Magnetoelectronics.” in Science,
asymmetrical (measured) major loop in contrast to the 1998, 282, no. 5394:1660–1663.
symmetrical recalculated loop using the Preisach model. For [6] Chappert, C.; Fert, A.; and Van Dau, F. 2007. “The
a comparison, the symmetrization of the measured major Emergence of Spin Electronics in Data Storage.” in
loop (by calculating its median) is inserted into the figure. Nature Materials, 2007, 6:813–823.
The higher slope near 51 mT (1 A) in figure 7 can be
explained by some bilayer mask areas which shadow the [7] The International Technology Roadmap for
whole underlying magnetic layer. After the structuring Semiconductors. Emerging Research Devices 2009
process, the remaining magnetic clusters exceed the [Online]. Available:
magnetic single domain size (SD). Thus, the formation of http://www.itrs.net/Links/2009ITRS/Home2009.htm,
magnetic domain walls is energetically more favored, last checked 10. November 2011.
leading to reduced stray fields and coercive fields. [8] Shichman, H., and D.A. Hodges. 1968. “Modeling
Accordingly to its portion to the signal a resulting jump and Simulation of Insulated-Gate Field-Effect
occurs. Some deviations can also be attributed to the fact Transistor Switching Circuits.” in IEEE Journal of
that the Preisach model does not take account interactions of Solid-State Circuits, 1968, 3, vol.3:285–289.
hysterons. In this case the assumption of zero mean fields is
no longer applicable, because these hysterons are shifted to [9] Ebers, J.J., and J.L. Moll. 1954. “Large-Signal
higher or lower fields by Hi. Thus, a higher/lower external Behavior of Junction Transistors.” in Proceedings of
field is needed to initiate the switching process. This the IRE, 42, vol.12:1761–1772.
assumption is substantiated in figure 3, which shows very [10] The New Encyclopædia Britannica in 30 volumes.
closely packed particles. Taking a look at the Preisach plane 1981. Micropædia, Ready reference and index, Vol.
and its off-diagonal elements can give more insights on the 3: Colemani – Exclusi. 15. ed., Encyclopaedia
particle behavior. Britannica Inc., Chicago, 1020/1021.

The work presented here is a first attempt to describe the [11] Krasnosel’skiĭ, M.A., and A.V. Pokrovskiĭ. 1989.
switching behavior of particle systems like in figure 3. The Systems with Hysteresis. Springer, New York.
switching behavior is studied on the basis of the [12] Cross, R.; Darby, J.; Ireland, J.; Piscitelli, L. 1999.
“Hysteresis and Unemployment: A Preliminary
Investigation” [Online]. Proceedings of the Fifth Andreas Meyer works as an Assistant
International Conference Computing in Economics Professor at the Institute for Physical
and Finance '99 of the Society for Computing in Chemistry of the University of Hamburg,
Economics, Available: Germany. His research fields are
http://ideas.repec.org/p/sce/scecf9/721.html, last nanostructured surfaces, polymer composites
checked: 10. November 2011. and self-assembly. He is expert in x-ray
scattering and worked for a long time at the synchrotron
[13] Fischer, S.; Salcher, A.; Kornowski, A.; Weller, H.;
radiation facility HASYLAB. A special focus of his work
Förster, S. 2011. “Completely Miscible
lies on the analytical technique grazing incidence small
Nanocomposites.” in Angewandte Chemie
angle x-ray scattering (GISAXS). His email address is
International Edition, 50:7811–7814.
andreas.meyer@chemie.uni-hamburg.de.
[14] Pike, C., and A. Fernandez. 1999. “An investigation
of magnetic reversal in submicron-scale Co dots Tobias Kipp received his Diplom-Informatiker
using first order reversal curve diagrams.” in Journal degree from the University Hamburg in 2010.
of Applied Physics 85, no. 9, (May): 6668–6676. His area of interest is Reconfigurable
Computing including the data-oriented program
paradigm and hardware design. His email
* to whom correspondence should be addressed. A sketch of address is kipp@informatik.uni-hamburg.de.
the Preisach plane and the MATLAB code will be provided
on request. Email: nfranz@physnet.uni-hamburg.de. Hans Peter Oepen is a Professor of Physics
and head of the research group “Surface
Phone: +49 40 42838 2908, Fax: +49 40 42838 6368. Physics” at the Institute of Applied Physics of
the University of Hamburg. His email address
Acknowledgements is oepen@physnet.uni-hamburg.de.
We would like to thank Dr. Moritz Bubeck for the help on
implementing the LabView measurement setup and Dr. Dietmar P.F. Möller is a Professor of
Nikolai Mikuszeit for the fruitfull discussion about the Computer Science and Head of Computer
Preisach model. Engineering at the Faculty of Mathematics,
Informatics and Natural Sciences of the
Biographies University of Hamburg, Hamburg, Germany.
His research interests span aviation systems, computational
Norbert Franz received his Diplom-Ingenieur modeling and simulation, e-learning, embedded computing
degree at the University of Applied Science systems, maritime systems, medical technology, mobile
FH-Wedel in 2001 and his Diplom-Physiker autonomous systems, multimodal transportation and
degree from the University of Hamburg, logistics, nanotechnology and virtual and augmented reality.
Hamburg, Germany in 2006. He is currently His homepage is www.informatik.uni-hamburg.de/TIS/.
working on finalizing his Ph.D. thesis in the area of
nanomagnetism in the group of Professor H. P. Oepen. His
main research interests are the design and
simulation/identification of ferromagnetic structures. His
email address is nfranz@physnet.uni-hamburg.de.

Bernd Güde received his Diplom-Informatiker


degree from the University of Hamburg,
Hamburg, Germany in 2007. He finished his
Ph.D. thesis in June 2011 and is currently
working as a post-doc in the research group of
Professor Möller at the University of Hamburg, Hamburg,
Germany. His current research interests are the modeling
and simulation of ferromagnetic devices and the design of
logic devices based on compact models for ferromagnetic
devices. His email address is guede@informatik.uni-
hamburg.de.

View publication stats

S-ar putea să vă placă și