Next Article in Journal
Numerical Investigation of the Performance of a Proton Exchange Membrane Water Electrolyzer under Various Outlet Manifold Structure Conditions
Previous Article in Journal
Fatigue Strength Improvement of Laser-Directed Energy Deposition 316L Stainless Steel with In Situ Ultrasonic Rolling by Preliminary Investigation
Previous Article in Special Issue
Study on the Performance of a High-Speed Motor, Considering the Effect of Temperature on the Properties of High-Strength Non-Oriented Silicon Steel
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

State Space Representation of Jiles–Atherton Hysteresis Model and Application for Closed-Loop Control

1
School of Instrumentation Science and Optoelectronics Engineering, Beihang University, Beijing 100191, China
2
Hangzhou Institute of National Extremely-Weak Magnetic Field Infrastructure, Hangzhou 310028, China
3
Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, Beihang University, Beijing 100191, China
4
Zhejiang Provincial Key Laboratory of Ultra-Weak Magnetic-Field Space and Applied Technology, Hangzhou Innovation Institute, Beihang University, Hangzhou 310051, China
*
Authors to whom correspondence should be addressed.
Materials 2024, 17(15), 3695; https://doi.org/10.3390/ma17153695 (registering DOI)
Submission received: 27 June 2024 / Revised: 22 July 2024 / Accepted: 24 July 2024 / Published: 26 July 2024

Abstract

:
Hysteresis is a fundamental characteristic of magnetic materials. The Jiles–Atherton (J-A) hysteresis model, which is known for its few parameters and clear physical interpretations, has been widely employed in simulating hysteresis characteristics. To better analyze and compute hysteresis behavior, this study established a state space representation based on the primitive J-A model. First, based on the five fundamental equations of the J-A model, a state space representation was established through variable substitution and simplification. Furthermore, to address the singularity problem at zero crossings, local linearization was obtained through an approximation method based on the actual physical properties. Based on these, the state space model was implemented using the S-function. To validate the effectiveness of the state space model, the hysteresis loops were obtained through COMSOL finite element software and tested on a permalloy toroidal sample. The particle swarm optimization (PSO) method was used for parameter identification of the state space model, and the identification results show excellent agreement with the simulation and test results. Finally, a closed-loop control system was constructed based on the state space model, and trajectory tracking experiments were conducted. The results verify the feasibility of the state space representation of the J-A model, which holds significant practical implications in the development of magnetically shielded rooms, the suppression of magnetic interference in cold atom clocks, and various other applications.

1. Introduction

Magnetic materials find extensive applications in various fields such as precision manufacturing, aerospace, and medical devices [1,2,3]. Hysteresis is a fundamental phenomenon observed in magnetic materials and is characterized by the dependence of the magnetization state on the history of the applied magnetic field. Understanding and quantifying hysteresis behavior is crucial for various applications. In magnet design and electromagnetic device development, understanding and controlling hysteresis characteristics are crucial for enhancing performance [4]. In sensor technology, hysteresis phenomena are widely used in the production of magnetic sensors and magnetic storage devices [5]. In medical imaging, hysteresis effects are employed in magnetic resonance imaging (MRI) and other magnetic imaging techniques [6].
The hysteresis model is a mathematical model used to describe the hysteresis effect in magnetic materials. By modeling the hysteresis characteristics of materials, it is possible to better design and optimize magnetic systems and devices to meet various application requirements [7,8]. Hysteresis models typically use different mathematical equations to describe the relationship between magnetization intensity and an external field, mainly including models such as the Preisach model, Jiles–Atherton (J-A) model, Stoner–Wohlfarth model, and Prandtl–Ishlinskii (P-I) model. Among them, the Preisach model is a hysteresis model with memory effects and simulates the complex hysteresis characteristics of magnetic materials based on a series of nonlinear switching elements [9,10]. The J-A model, which is based on the dynamic behavior of microscale magnetic moments, simulates the magnetization process under the influence of an external field by describing the internal magnetic moments [11,12]. The Stoner–Wohlfarth model describes the magnetic moment reversal behavior of magnetic particles under an external field, assuming the particles have a single magnetic moment that only flips when the external field exceeds a specific threshold. This model provides a theoretical framework for explaining hysteresis loops and magnetic moment reversal in ferromagnetic materials [13]. The Prandtl–Ishlinskii model is based on combining multiple individual hysteresis elements through the composition of hysteresis operators to simulate the complex nonlinear behavior of materials or systems. The principle of this model lies in the effective capture of the nonlinear characteristics of materials or systems by appropriately adjusting and combining these hysteresis elements [14,15].
Among the numerous models developed to describe hysteresis phenomena, the J-A model is based on microscopic physical mechanisms, which makes its physical meaning clear and precise [16,17]. The J-A model incorporates parameters such as coercivity, remanence, and magnetic viscosity to characterize the hysteresis loop. Through empirical formulations and mathematical representations of energy dissipation mechanisms, the J-A model effectively captures the intricate interplay between magnetic domains, enabling accurate predictions of magnetization dynamics [18,19]. By calibrating the model parameters to experimental data, researchers can tailor the J-A model to specific material properties and geometries, enhancing its predictive capabilities across a wide range of applications [20,21]. Moreover, advancements in computational techniques facilitated the implementation of the J-A model in numerical simulations, allowing researchers to explore complex hysteresis phenomena in unprecedented detail [22,23].
To utilize the J-A model in practical applications, parameter identification is required. Currently, common methods for parameter identification in the J-A model can be categorized into two types: formula-based and fitting-based methods. Although the formula-based method has clear physical significance, it is highly sensitive to the selection of initial values and the order of parameter iteration. This sensitivity often leads to non-convergence or entrapment in local optima, resulting in low accuracy and efficiency in parameter identification [24,25]. The fitting-based method uses the least squares function of measured and calculated values as the objective function, and employs optimization algorithms to extract parameters of the J-A hysteresis model. Currently, various intelligent algorithms, such as the genetic algorithm (GA), simulated annealing, and particle swarm optimization (PSO), are applied to the parameter identification of the J-A model [26,27]. These algorithms offer advantages such as simplicity in implementation and high execution efficiency.
The numerical calculation of the J-A model is widely applied across various fields. For magnetostrictive materials, Rong et al. proposed a rational expression for the dynamic J-A model and introduced a numerical computation method to rapidly obtain high-precision model results [28]. Chen et al. proposed a modeling method for an axial flux permanent magnet hysteresis damper (APHD) based on the vector J-A model, which improves the calculation convergence and reduces the calculation time. A rapid identification method based on numerical techniques and genetic algorithms was employed to obtain the parameters of the J-A hysteresis model [29]. For magnetic particle imaging, Li et al. proposed a more accurate model to describe the dynamic magnetization of superparamagnetic iron oxide (SPIO) nanoparticles, which was termed the modified J-A model. This model was applied in x-space algorithms to enhance the image resolution, thereby improving the performance of magnetic particle imaging (MPI) in medical fields, including cardiovascular imaging [30,31].
In many applications, the J-A model also needs to be integrated into control systems. In the low-frequency external fields experienced by satellites in low Earth orbit, the placement of any magnetically sensitive devices within the magnetic shield should consider the hysteresis effects. Peng et al. introduced the J-A hysteresis model to predict and compute magnetization-induced magnetic fields and suppressed external interference by adjusting the current of compensating coils to maintain a stable field within the shield [32]. To achieve precise control of electromagnetic actuators, Rosenbaum et al. described hysteresis characteristics using both the J-A model and the Preisach model. They implemented feedforward control based on the inverse model and conducted experiments on a force-controlled electromagnet system [33]. Chen et al. combined the Jiles–Atherton model with a magneto-mechanical effect to develop a self-sensing model that effectively describes the relationship between magnetization and magnetostriction. The drive coil is used to detect the induced voltage caused by changes in magnetization. The integration of sensing and actuation functions results in a compact actuator structure capable of real-time actuation state sensing [34].
Hysteresis can impact the stability and accuracy of the system in many applications. Developing a dynamic model of magnetization and integrating it into the control system significantly aids in controller design and system simulation. Therefore, this study further established a state space representation of the J-A model based on the numerical calculation model and integrated it into a closed-loop control system to achieve trajectory tracking. First, based on the five fundamental equations of the J-A model, a state space representation was established through variable substitution and simplification. Further addressing the singularity problem at zero-crossing points, a locally linearized form was derived using an approximation method based on actual physical characteristics. The feasibility of the state space model was demonstrated through modeling and simulation using the S-function module of Simulink. Additionally, the PSO algorithm was employed for parameter identification based on the hysteresis loops obtained through COMSOL finite element software and tested on a permalloy toroidal sample, which confirmed the good approximation ability of the J-A state space model to actual hysteresis loops. Finally, a closed-loop control system was constructed based on the state space model, and trajectory tracking experiments were conducted. The state space representation of the J-A model holds significant practical significance for the design and analysis of systems containing hysteresis properties, such as transformer design, the active suppression of magnetic interference in cold atomic clock magnetic shielding systems, and the control of magnetostrictive materials.

2. State Space Representation of the J-A Model

2.1. J-A Hysteresis Model

The J-A model is a mathematical model that was designed to describe hysteresis phenomena and is applicable to the modeling and analysis of magnetic materials, such as soft magnetic materials and magnetic storage materials. In the fields of magnetic field control and magnetic device design, the J-A model is employed for predicting and analyzing hysteresis effects. The J-A model starts from the energy balance equation in the process of material magnetization and derives a set of differential equations that characterize the variation in magnetization intensity during the material magnetization process.
The J-A model [16,17] is based on the non-hysteretic magnetization curve. In this approach, it is possible to distinguish between irreversible and reversible domain wall displacements. Using the Langevin function, the description of non-hysteretic magnetization strength M a n can be represented as
M a n = M s coth H e a a H e
where a represents the domain wall density in soft magnetic materials. M s stands for the saturation magnetization, which is the maximum magnetization that a material can achieve when subjected to an applied field. H e represents the effective field strength, which takes into account the interactions between magnetic domains. It can be expressed in terms of the field strength H and the total magnetization M
H e = H + α M
where α represents the degree of field interaction between magnetic domains. The irreversible magnetization strength M i r r corresponds to the defective domain portion within soft magnetic materials, which represents the irreversible component during the magnetization process. It can be calculated using the following equation
d M i r r d H = M a n M i r r δ k α M a n M i r r
where k represents the pinning factor, indicating the blocking effect or loss within magnetic domains. δ is the directional parameter, which takes a value of +1 when d H / d t > 0 and −1 when d H / d t < 0 , with t representing time. The reversible magnetization strength M r e v represents the reversible component generated by wall deformation at coupled sites under the influence of an external field. It can be expressed as follows:
M r e v = c M a n M i r r
where c represents the reversibility coefficient, c 0 , 1 . The total magnetization M can be expressed as
M = M r e v + M i r r

2.2. State Space Representation

The above five equations constitute the hysteresis J-A model. Based on this, the state space representation is further established below. This contributes to the analysis and control of magnetic materials and hysteresis. State space equations are a mathematical model used to describe the behavior of dynamic systems. They are typically represented by a set of differential equations that describe how the system state changes over time. These equations detail the evolution of the system state and how the system responds to inputs to produce outputs. State space equations are widely employed in control system engineering, signal processing, and various engineering fields, and provide a comprehensive tool for the analysis and design of systems.
From Equations (1) and (2), the anhysteretic magnetization can be derived:
M a n = M s coth H + α M a a H + α M
This is an equation regarding M a n with respect to H and M. From Equations (4) and (5), the following can be derived:
M = c M a n + 1 c M i r r
This is an equation representing M as a function of M a n and M i r r . By observing that Equations (6) and (7) both involve three variables ( M a n , M i r r , and M), it is evident that both M a n and M i r r can be expressed as functions of M. Using Equation (7), M i r r can be expressed as a function of M, as follows:
M i r r = 1 1 c M c 1 c M s coth H + α M a a H + α M
Taking the derivative of the above equation with respect to H, the following can be obtained:
d M i r r d H = 1 1 c d M d H c 1 c d M a n d H
Combining Equations (3) and (9), the following can be obtained:
1 1 c d M d H c 1 c d M a n d H = M a n M i r r δ k α M a n M i r r
Moving d M / d H to the left side of the equation yields
d M d H = c d M a n d H + 1 c M a n M 1 c δ k α M a n + α M
Furthermore, from
d M a n d H = d M a n d H e d H e d H = M s 1 a c s c h 2 H e a + a H e 2 1 + α d M d H
The derivation yields
d M d H = c M s 1 a c s c h 2 H e a + a H e 2 1 + α d M d H + 1 c M a n M 1 c δ k α M a n + α M
Moving d M / d H to the left side of the equation yields
d M d H = c M s 1 a c s c h 2 H e a + a H e 2 + 1 c M a n M 1 c δ k α M a n + α M 1 α c M s 1 a c s c h 2 H e a + a H e 2
It can be seen that the variables in Equation (14) include only H e and M a n , and both H e and M a n are functions of H and M. Therefore, d M / d H can be entirely expressed as a function of H and M. Combining Equations (1), (2), and (14), the state space representation of the J-A model can be obtained. In time domain simulations, it can be used in the following form:
d M d t = c M s 1 a c s c h 2 H e a + a H e 2 + 1 c M a n M 1 c δ k α M a n + α M 1 α c M s 1 a c s c h 2 H e a + a H e 2 d H d t
That is, M ˙ is a function of M, H, and H ˙ : M ˙ = f M , H H ˙ . The state equation flowchart for the J-A model can be illustrated as shown in Figure 1.
With the powerful simulation capabilities of Simulink, this can be easily simulated. First, set the initial values for H and M. Next, calculate the value of H e and use the obtained H e to calculate the current M a n . Finally, iteratively calculate M using Equation (15), and use the new input H, along with M, as the initial input for the next iteration.
Consequently, the state space representation of the J-A model can be established. Define u = [ u 1 u 1 ] T = [ H d H / d t ] T as the generalized input of the system, with the system state variable x and the system output y both being M. The state equation and output equation of the system can be expressed as follows:
x ˙ = f x , u 1 u 2 y = x
Using the S-function module in Simulink, the state equation can be modeled, as shown in Figure 2. The solution can be obtained by iteratively applying the Runge–Kutta method to reveal the material’s magnetization state.
The model outputs time domain waveforms. By taking H as the independent variable and M as the dependent variable, the hysteresis loop can be obtained. With the powerful features of Simulink and S-function, it becomes easy to modify the system inputs and parameters and perform the combined simulations with controllers, as well as stability testing. This contributes to both scientific research and engineering applications of hysteresis.

3. Local Linearization and Simulation

3.1. Local Linearization Based on L’Hopital’s Rule

The state space representation of the J-A model, derived as above, contributes to a better analysis and computation of hysteresis behavior. However, the presence of a singularity at H e = 0 in the expression of the J-A model can be inconvenient for its practical use. The actual initial magnetization curve of the material can be divided into the initial magnetization stage, the Rayleigh region, the maximum permeability region, the approaching saturation region, and the paramagnetic region. The initial magnetization stage represents the reversible magnetization stage under weak magnetic fields, where the magnetization intensity M maintains a linear relationship with the external field H. In this region, magnetic materials exhibit good reversibility, and the orientation of the magnetic moment can rapidly change without causing significant hysteresis losses. This is crucial for applications such as magnetic field control, magnetic storage, and magnetic sensing in magnetic materials. The width and characteristics of the reversible magnetization region typically depend on the magnetic properties of the material and the strength and direction of the external magnetic field. Therefore, based on the physical characteristics, the function value at H e = 0 is approximated and replaced. This is particularly meaningful for systems like a demagnetization system and a closed-loop control system, where achieving a convergence value of zero is crucial. Set
f H e = coth H e a a H e
Solve for the first and second derivatives of f H e :
f H e = 1 a c s c h 2 H e a + a H e 2
f H e = 2 a 2 c s c h 2 H e a coth H e a 2 a H e 3
Expand f H e using the Taylor series at the point H e = 0 , as follows:
f H e = f n 0 n ! H e n = f 0 + f 0 · H e + o H e
The solution to this problem is challenging, and thus, we utilize L’Hopital’s rule for solving it. L’Hopital’s rule is a mathematical tool employed for calculating limits, and is particularly useful when encountering an indeterminate form like 0/0 in the process of finding limits. The basic idea of this rule involves taking the derivatives of both the numerator and denominator, then attempting to find the limit again, repeating the process until a meaningful result is obtained. This rule is particularly useful when dealing with some complex limit problems, especially in the computation of indeterminate fractional limits. First, by applying L’Hopital’s rule to approximate and solve for f 0 , set x = H e / a , and thus,
f a x = coth x 1 x = x e x + e x e x e x x e x e x
As H e approaches 0, the following can be obtained:
lim H e 0 f H e = lim a x 0 f a x = lim a x 0 x e x + e x e x e x x e x e x
After two applications of L’Hopital’s rule, the following can be obtained:
lim a x 0 f a x = n u m x d e n x = e x e x + x e x + e x 2 e x + e x + x e x e x
where n u m x represents the numerator of the original expression and d e n x represents the denominator. From the results of the two applications of L’Hopital’s rule, it is evident that as x approaches 0, n u m x approaches 0, while d e n x approaches 4. Therefore, lim H e 0 f H e = 0 . Next, by applying L’Hopital’s rule for local linearization to solve for f 0 , it follows that
f a x = 1 a c s c h 2 x + 1 a · 1 x 2 = 1 a · e 2 x + e 2 x 2 4 x 2 x 2 e 2 x + e 2 x 2
Performing four iterations of L’Hopital’s rule gives
lim a x 0 f a x = n u m ( 4 ) x d e n ( 4 ) x = 1 a · 8 e 2 x + e 2 x 24 e 2 x + e 2 x + 32 x e 2 x e 2 x + o x
From the results of the four iterations of L’Hopital’s rule, it can be determined that as x approaches 0, n u m 4 x approaches 8 and d e n 4 x approaches 24. Therefore, lim H e 0 f H e = 1 / 3 a . Thus,
f H e = f 0 + f 0 · H e + o H e 0 + 1 / 3 a · H e
Substituting M s / 3 a · H e for M a n , M s / 3 a for d M a n / d H e , and H + α M for H e in Equation (11), the following can be obtained:
d M d H = c M s 3 a 1 + α d M d H + 1 c H e M s 3 a M 1 c δ k α H e M s 3 a + α M
Moving d M / d H to the left side of the equation yields
d M d H = c M s 1 c δ k α H + α M M s 3 a + α M + 1 c H + α M M s 1 c 3 a M 3 a α c M s 1 c δ k α H + α M M s 3 a + α M
It can be observed that as M and H approach 0,
lim M , H 0 d M d H = c M s 3 a α c M s
lim M , H 0 d M d t = c M s 3 a α c M s d H d t
At this point, M ˙ = K H ˙ . This achieves the local linearization expansion at the zero-crossing point of the J-A model. This aligns with the objective physical phenomenon of material magnetization and provides a foundation for the analysis and design of systems containing hysteresis characteristics.
To implement local linearization, it is necessary to preset a threshold H t r , along with conditional statements. When the input value H e exceeds the threshold H t r , calculations are performed according to the original formula; however, when the input value H e is less than or equal to the threshold H t r , the calculation is carried out using the local linearization formula. Figure 3 illustrates the modified state flowchart incorporating local linearization.
Figure 4 shows the graph of the error function between the Langevin function and the linear approximation, i.e., g ( x ) = coth ( x ) 1 / x x / 3 . Since x = H e / a , H t r can be chosen based on the iterative calculation step size and the linear approximation error.

3.2. S-Function Development and Simulation

Based on the analysis and derivation mentioned above, we further implemented the linearized J-A model state space representation, as follows:
x ˙ = K u 2 y = x
The definitions of u , x, and y are the same as in Section 2.2. Define u = [ u 1 u 2 ] T = [ H d H / d t ] T as the generalized input of the system, with the system state variable x and the system output y both being M. The simulation structure of the J-A model with the introduction of small-range linearization is shown in Figure 5. The only necessary modification involves supplementing the S-function module. The implementation of this only requires adding conditional statements, making it very easy to achieve. Therefore, a simulation model is established, and the iterative solution is obtained using the Runge–Kutta method.
By applying an exponentially decaying sinusoidal wave as the input, the Simulink model and results are shown in Figure 6 and Figure 7, respectively. The parameter settings are shown in Table 1.
As the amplitude of the input H decreased, the amplitude of the output M also decreased, gradually approaching zero. By plotting the Lissajous figure with H as the independent variable and M as the dependent variable, the hysteresis loop of the material could be obtained. The characteristics reflected by the curve matched the given parameter values. It can be observed that the hysteresis characteristics were well-described, and the singularity problem at the zero point was resolved. With this, the state space modeling of the J-A model was completed.

4. Hysteresis Loop Simulation and Parameter Identification of J-A State Space Model

4.1. Parameter Identification

Section 2 and Section 3 realized the state space representation and local linearization at the zero crossing point of the J-A model. To simulate the hysteresis behavior of practical magnetic materials, further identification of the five parameters in the J-A state space model is required. In this section, the hysteresis loops were constructed using COMSOL finite element software. Based on the hysteresis loops, parameter identification was carried out using the PSO method. The simulation model referred to the COMSOL official example library for modeling and simulation. The built-in J-A model was used to simulate and obtain the hysteresis loop with parameters identical to those in Table 1.
PSO is an evolutionary computation technique used for solving optimization problems. It simulates the behavior of swarms in nature, such as birds or fish, by continuously adjusting the positions and velocities of individuals to find the optimal solution. In PSO, each individual is called a particle, where its position represents a candidate solution in the solution space, and its velocity represents the direction and speed of the particle’s movement in the solution space. The core idea of PSO is to continuously update the positions and velocities of particles so that they move along the optimal direction in the search space and gradually converge to the global or local optimal solution. During this process, the movement of particles is influenced by their own historical best positions and the historical best position of the swarm, while also considering an inertia term to maintain the search diversity and convergence speed. The velocity and position update formulas for particles in the PSO algorithm are as follows:
x d k + 1 = x d k + v d k + 1
v d k + 1 = ω v d k + c 1 r 1 p d k x d k + c 2 r 2 p g k x d k
where x represents the position of the particle, which corresponds to the parameters of the J-A state space model that need to be solved. v represents the velocity of the particle, that is, the change in the iteration of the parameter values. ω is the inertia weight. r 1 and r 2 are two random numbers in 0 , 1 . c 1 is the local learning factor. c 2 is the global learning factor. The position vector p d k is the optimal position of particle d after self-updating k times, which is called PBest. p g k is the position of the best particle appearing after k updates in the particle swarm, which is called GBest.
The five parameters of the J-A state space model are taken as a multidimensional vector to be optimized. The fitness function is defined as the mean square error of the magnetic flux density at the sampling points, as follows:
F = i = 1 N B m ( i ) B c ( i ) 2 N
where B m represents the measured magnetic flux density value. B c denotes the computed magnetic flux density value obtained from the J-A state space model under the corresponding parameters. N is the total number of sampling points. i is the index of the sampling point. Based on these factors, the flowchart of the algorithm can be illustrated as shown in Figure 8.

4.2. Identification Result

The parameter configurations are defined as follows: the initial population consisted of 200 individuals, with a maximum iteration count of 300, ω = 0.8 , and c 1 = c 2 = 0.5 . The position range for the J-A state space model parameters M s a α k c spanned 1 × 10 5 10 × 10 5 0 10 0 10 × 10 5 0 10 0 1 , while the velocity range varied over ± 0.1 × 1 × 10 5 10 × 10 5 0 10 0 10 × 10 5 0 10 0 1 . Finally, the identification result is shown in Table 2.
As shown in Figure 9, the blue curve represents the hysteresis loop obtained from the COMSOL simulation result, while the red curve depicts the hysteresis loop generated using the parameters identified and the J-A state space model. It is evident that the two curves exhibit a good match, indicating a satisfactory fitting performance between them. This suggests that the combination of the J-A state space model proposed in this paper, along with the small neighborhood linearization method and the PSO parameter identification, can provide a satisfactory description of the hysteresis characteristics of magnetic materials.
To verify the fitting performance with the measured hysteresis loop, the permalloy toroidal samples were tested for their hysteresis loop using the MARS-3000S soft magnetic material DC measurement system from Hunan Linkjoin Technology Co., Ltd. (Loudi, China), as shown in Figure 10a. The testing method employed the simulated pulse technique. Excitation and induction coils were wound around the permalloy toroidal samples to apply the excitation magnetic field and generate the corresponding induced electromotive force. The identification result is shown in Table 3.
Figure 10b shows the fitting results of the parameters identified by the PSO. The blue curve indicates the measured hysteresis loop, while the red curve shows the fitting results of the J-A state space model. It can be seen that in most areas of the hysteresis loop, the fit was good, although there were some discrepancies in certain local regions. These errors existed whether using the J-A state space model or the classical iterative calculation method. In our opinion, this was due to the limitations of the primitive J-A model, sampling number of the testing device, or the PSO algorithm, and further targeted research is needed in the future. In a closed-loop control system, the impact of these errors can be effectively suppressed by the control algorithm.
The form of the state space representation and the application of local linearization hold significant practical implications in various fields. In the construction of magnetically shielded rooms, demagnetization of the high-permeability materials in the shielding layer is required, and the quality of the demagnetization directly affects the shielding performance. The proposed J-A state space model can effectively simulate the demagnetization process and integrate with the demagnetization system, aiding in the evaluation of the demagnetization performance. For applications such as cold atom clocks in the magnetic field experienced by satellites in low Earth orbit, magnetic hysteresis effects should be considered for magnetic-sensitive devices inside a shield. The proposed J-A state space model can effectively predict the field within the shield, thus achieving magnetic interference suppression combined with the coil system. In fields such as electromagnetic actuators, the proposed J-A state space model can also be used for system analysis and modeling, which provides a foundation for controller design.

5. Closed-Loop Control of J-A State Space Model

Through the above analysis and calculations, a state space representation of the J-A hysteresis model was established, and parameter identification was completed using the PSO method. This provides a foundation for the design of closed-loop control systems. Figure 11 represents the closed-loop block diagram of the system. The reference curve was fed into the closed-loop system and the difference with the feedback signal was taken to obtain the error signal e ( t ) . k s is the feedback loop gain, which was set to 1. Through closed-loop control, this does not need to model the system precisely. Even in the presence of certain parameter deviations or external disturbances, the combination of feedback signals and the action of the controller allowed us to still output the desired set point.
The implementation of controllers, other components, and operations in the system can be easily achieved through modules in Simulink, as shown in Figure 12. The realization of the J-A model was based on the S-function implementation discussed earlier. This greatly facilitated the design and simulation of hysteresis control systems, which allowed for the validation of system characteristics under various input conditions and the presence or absence of external disturbances. It holds significant value for applications in engineering.
The parameters for the J-A model were the same as in the third section. To achieve the regulation of hysteresis characteristics, the control was implemented based on the error e ( t ) and its integral e ( t ) d t . The state variable x of the controller was defined as e ( t ) d t , with the input u being e ( t ) , and the output y formulated as k p e ( t ) + k i e ( t ) d t , as follows:
x ˙ = u y = k p u + k i x
where k p = 2 × 10 6 and k i = 5 × 10 4 . A sinusoidal wave and triangular wave were used as system inputs for research. We selected the input signal in the Simulink source library and used the scope module to record the results. The results are shown in Figure 13 and Figure 14. In Figure 13a and Figure 14a, the blue curve represents the set value of the system, while the red asterisks denote the system output values. Figure 13b and Figure 14b depict the control variable of the system, namely, H. From the form of H, it can be seen that the control variable contained components of hysteresis nonlinearity.
It can be observed that the system output could effectively track the input. There was almost no deviation or lag between the system input and output. For the sinusoidal input tracking, the maximum error between the set value and the track value was only 0.0063 T, which was 1.26% of the sinusoidal input amplitude. This occurred near the peak of the sinusoidal wave, with the errors at other locations being less than 0.1%. When using a triangular wave, which had discontinuous points as the input, the maximum error between the set value and the tracking value was only 0.0091 T, which was 1.82% of the triangular wave input amplitude. Similarly, this occurred near the peak of the triangular wave, where the errors at other locations were less than 0.1%. The deviation and lag between the system output and input were both very small. This implies that the hysteresis state was successfully adjusted. It should be noted that PI control is not necessarily the optimal control method. Further research is needed to explore better design methods for the controller.

6. Conclusions

The J-A model is a commonly used model to describe the hysteresis characteristics of magnetic materials. This study established the state space representation based on the five basic equations of the J-A model. Furthermore, a small-range approximation linearization was applied to address the singularity issues using L’Hopital’s rule, which enhanced the integrity of the model. Subsequently, modeling was conducted using the S-function module in Simulink, and the feasibility of the model was verified using exponentially decaying sine waves and triangular waves as inputs. Then, parameter identification was performed using the PSO algorithm combined with COMSOL finite element software, which demonstrated that the proposed J-A state space model could effectively describe the hysteresis characteristic. Finally, a closed-loop control system was established. The tracking results for both the sinusoidal and triangular waves demonstrated that the system could effectively adjust the hysteresis state. This has significant practical implications in many areas, such as the development of magnetically shielded rooms and the suppression of magnetic interference in cold atomic clocks.

Author Contributions

Conceptualization, J.Z. (Jiye Zhao) and J.S.; methodology, L.Z. and J.Z. (Jiye Zhao); software, J.Z. (Jiqiang Zhou); validation, J.Z. (Jiye Zhao), J.Z. (Jiqiang Zhou) and L.Z.; formal analysis, L.Z.; investigation, J.Z. (Jiqiang Zhou); resources, J.S.; data curation, J.Z. (Jiqiang Zhou); writing—original draft preparation, J.Z. (Jiye Zhao); writing—review and editing, J.S. and L.Z.; visualization, J.Z. (Jiqiang Zhou); supervision, J.S.; project administration, J.S.; funding acquisition, J.S. All authors read and agreed to the published version of this manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under grant 52075017.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chen, B.; Chang, J.Y. Hybrid modeling for smart roller leveling in precision magnetic scale manufacturing. J. Mech. Sci. Technol. 2021, 35, 1881–1891. [Google Scholar] [CrossRef]
  2. Zhang, H.; Li, H. Fast commutation error compensation method of sensorless control for MSCMG BLDC motor with nonideal back EMF. IEEE Trans. Power Electron. 2020, 36, 8044–8054. [Google Scholar] [CrossRef]
  3. Jie, S.; Li, J.; Liu, Z.; Mao, Y. A high-performance multilayer cylindrical magnetic shielding with a varying layer spacing for nmr sensors. Meas. Sci. Technol. 2023, 34, 095124. [Google Scholar] [CrossRef]
  4. Wang, H.; Liu, K.; Wei, J.; Hu, H. Analytical modeling of air gap magnetic fields and bearing force of a novel hybrid magnetic thrust bearing. IEEE Trans. Magn. 2021, 57, 4900107. [Google Scholar] [CrossRef]
  5. Man, J.; Chen, G.; Chen, J. Recent progress of biomimetic tactile sensing technology based on magnetic sensors. Biosensors 2022, 12, 1054. [Google Scholar] [CrossRef] [PubMed]
  6. Radjenovic, A.; Christodoulou, A.G. Simultaneous multiparametric and multidimensional cardiovascular magnetic resonance imaging. Front. Cardiovasc. Med. 2023, 10, 1205994. [Google Scholar] [CrossRef] [PubMed]
  7. Li, Z.; Li, Z.; Xu, H.; Zhang, X.; Su, C.Y. Development of a butterfly fractional-order backlash-like hysteresis model for dielectric elastomer actuators. IEEE Trans. Ind. Electron. 2022, 70, 1794–1801. [Google Scholar] [CrossRef]
  8. Nasiri, A.A.; Mirsalim, M. Analysis of a reverse hybrid hysteresis motor using hyperbolic modelling of hysteresis loop. IET Electr. Power Appl. 2020, 14, 1339–1346. [Google Scholar] [CrossRef]
  9. Mayergoyz, I.D.; Korman, C.E. Preisach based storage devices and global optimizers. Math. Model. Nat. Phenom. 2020, 15, 20. [Google Scholar] [CrossRef]
  10. Chen, Y.; Huang, Q.; Wang, H.; Qiu, J. Hysteresis modeling and tracking control for piezoelectric stack actuators using neural-Preisach model. Int. J. Appl. Electromagn. Mech. 2019, 61, 445–459. [Google Scholar] [CrossRef]
  11. Sadowski, N.; Batistela, N.; Bastos, J.; Lajoie-Mazenc, M. An inverse Jiles-Atherton model to take into account hysteresis in time-stepping finite-element calculations. IEEE Trans. Magn. 2002, 38, 797–800. [Google Scholar] [CrossRef]
  12. Leite, J.; Sadowski, N.; Kuo-Peng, P.; Batistela, N.; Bastos, J.; De Espindola, A. Inverse Jiles-Atherton vector hysteresis model. IEEE Trans. Magn. 2004, 40, 1769–1775. [Google Scholar] [CrossRef]
  13. Iglesias, C.; De Araujo, J.; Silva, E.; Gamino, M.; Correa, M.; Bohn, F. Fundamental inequalities in the Stoner-Wohlfarth model. Phys. Rev. B 2022, 106, 094405. [Google Scholar] [CrossRef]
  14. Alatawneh, N.; Al Janaideh, M. A frequency-dependent Prandtl–Ishlinskii model of hysteresis loop under rotating magnetic fields. IEEE Trans. Power Deliv. 2019, 34, 2263–2265. [Google Scholar] [CrossRef]
  15. Yoong, H.; Su, C.; Yeo, K. Stress-dependent generalized Prandtl–Ishlinskii hysteresis model of a NiTi wire with superelastic behavior. J. Intell. Mater. Syst. Struct. 2021, 32, 1713–1724. [Google Scholar] [CrossRef]
  16. Jiles, D.C.; Atherton, D.L. Theory of ferromagnetic hysteresis. J. Appl. Phys. 1984, 55, 2115–2120. [Google Scholar] [CrossRef]
  17. Garikepati, P.; Chang, T.; Jiles, D. Theory of ferromagnetic hysteresis: Evaluation of stress from hysteresis curves. IEEE Trans. Magn. 1988, 24, 2922–2924. [Google Scholar] [CrossRef]
  18. Zhang, B.; Gupta, B.; Ducharne, B.; Sebald, G.; Uchimoto, T. Dynamic magnetic scalar hysteresis lump model based on Jiles–Atherton quasi-static hysteresis model extended with dynamic fractional derivative contribution. IEEE Trans. Magn. 2018, 54, 7301605. [Google Scholar] [CrossRef]
  19. Lihua, Z.; Jingjing, L.; Qingxin, Y.; Jianguo, Z.; Koh, C.S. An improved magnetostriction model for electrical steel sheet based on Jiles–Atherton model. IEEE Trans. Magn. 2020, 56, 7514604. [Google Scholar] [CrossRef]
  20. Xue, G.; Bai, H.; Li, T.; Lu, C. An Easily Used Phenomenological Magnetization Model and Its Empirical Expressions Based on Jiles–Atherton Parameters. Materials 2022, 15, 7592. [Google Scholar] [CrossRef]
  21. Szewczyk, R. Validation of the anhysteretic magnetization model for soft magnetic materials with perpendicular anisotropy. Materials 2014, 7, 5109–5116. [Google Scholar] [CrossRef]
  22. Zhang, H.; Liu, Y.; Liu, S.; Lin, F. A method for reducing errors of magnetization modeling of nanocrystalline alloy cores based on modified Jiles-Atherton model. J. Appl. Phys. 2019, 125, 143901. [Google Scholar] [CrossRef]
  23. Duan, J.; Li, H.; Lei, Y. Modeling and experimental validation of a dynamic regional saturation JA model for protective current transformer. Int. J. Electr. Power Energy Syst. 2019, 105, 315–322. [Google Scholar] [CrossRef]
  24. Jiles, D.C.; Thoelke, J.; Devine, M. Numerical determination of hysteresis parameters for the modeling of magnetic properties using the theory of ferromagnetic hysteresis. IEEE Trans. Magn. 1992, 28, 27–35. [Google Scholar] [CrossRef]
  25. Xiong, L.; Zhou, J.; Song, D.; Xi, Z.; Yao, S. Modeling and experimental analysis of current transformer based on modified JA hysteretic model. High Volt. Eng. 2014, 40, 482–488. [Google Scholar]
  26. Coelho, L.d.S.; Guerra, F.A.; Leite, J.V. Multiobjective exponential particle swarm optimization approach applied to hysteresis parameters estimation. IEEE Trans. Magn. 2012, 48, 283–286. [Google Scholar] [CrossRef]
  27. Cao, S.; Wang, B.; Yan, R.; Huang, W.; Yang, Q. Optimization of hysteresis parameters for the Jiles-Atherton model using a genetic algorithm. IEEE Trans. Appl. Supercond. 2004, 14, 1157–1160. [Google Scholar] [CrossRef]
  28. Rong, C.; He, Z.; Xue, G.; Liu, G.; Dai, B.; Zhou, Z. Analysis and numerical solution of dynamic Jiles–Atherton model applied to hysteresis modeling for giant magnetostrictive materials. Eng. Comput. 2022, 39, 1451–1472. [Google Scholar] [CrossRef]
  29. Chen, J.; Wang, S.; Shang, H.; Hu, H.; Peng, T. Finite element analysis of axial flux permanent magnetic hysteresis dampers based on vector Jiles-Atherton model. IEEE Trans. Energy Convers. 2022, 37, 2472–2481. [Google Scholar] [CrossRef]
  30. Li, Y.; Hui, H.; Zhang, P.; Zhong, J.; Yin, L.; Zhang, H.; Zhang, B.; An, Y.; Tian, J. Modified jiles–atherton model for dynamic magnetization in x-space magnetic particle imaging. IEEE Trans. Biomed. Eng. 2023, 70, 2035–2045. [Google Scholar] [CrossRef]
  31. Li, Y.; Li, G.; Zhang, P.; An, Y.; Hui, H.; Tian, J. Modified Jiles-Atherton model-based system matrix generation method for magnetic particle imaging. IEEE Trans. Instrum. Meas. 2024, 73, 1004309. [Google Scholar] [CrossRef]
  32. Peng, X.; Li, L.; Ren, W.; Ji, J.; Xiang, J.; Zhao, J.; Ye, M.; Zhao, X.; Wang, B.; Qu, Q.; et al. Jiles–Atherton model prediction and compensation of the hysteresis inside magnetic shields. AIP Adv. 2019, 9, 035222. [Google Scholar] [CrossRef]
  33. Rosenbaum, S.; Ruderman, M.; Strohla, T.; Bertram, T. Use of Jiles–Atherton and Preisach hysteresis models for inverse feed-forward control. IEEE Trans. Magn. 2010, 46, 3984–3989. [Google Scholar] [CrossRef]
  34. Chen, J.; Wang, L.; Yu, J.; Sun, H.; Wang, J.; Zhang, H. Self-sensing model of low-frequency magnetostrictive composites actuator based on Jiles-Atherton theory. Smart Mater. Struct. 2024, 33, 055010. [Google Scholar] [CrossRef]
Figure 1. State space representation of the J-A model.
Figure 1. State space representation of the J-A model.
Materials 17 03695 g001
Figure 2. Simulation structure of the J-A model.
Figure 2. Simulation structure of the J-A model.
Materials 17 03695 g002
Figure 3. State space representation of the J-A model with local linearization.
Figure 3. State space representation of the J-A model with local linearization.
Materials 17 03695 g003
Figure 4. The error function between the Langevin function and the linear approximation.
Figure 4. The error function between the Langevin function and the linear approximation.
Materials 17 03695 g004
Figure 5. Simulation structure of the J-A model with local linearization.
Figure 5. Simulation structure of the J-A model with local linearization.
Materials 17 03695 g005
Figure 6. Simulink model with J-A S-function.
Figure 6. Simulink model with J-A S-function.
Materials 17 03695 g006
Figure 7. Calculation results of exponential decaying sinusoidal wave input: (a) time domain; (b) hysteresis loop.
Figure 7. Calculation results of exponential decaying sinusoidal wave input: (a) time domain; (b) hysteresis loop.
Materials 17 03695 g007
Figure 8. PSO algorithm flowchart.
Figure 8. PSO algorithm flowchart.
Materials 17 03695 g008
Figure 9. Fitting result of COMSOL-modeled data and J-A state space model.
Figure 9. Fitting result of COMSOL-modeled data and J-A state space model.
Materials 17 03695 g009
Figure 10. The testing device and fitting result of permalloy toroidal sample: (a) testing device; (b) fitting result.
Figure 10. The testing device and fitting result of permalloy toroidal sample: (a) testing device; (b) fitting result.
Materials 17 03695 g010
Figure 11. Closed-loop control system.
Figure 11. Closed-loop control system.
Materials 17 03695 g011
Figure 12. Simulink model of closed-loop control system.
Figure 12. Simulink model of closed-loop control system.
Materials 17 03695 g012
Figure 13. Tracking results of the sinusoidal wave input: (a) output variable M; (b) control variable H.
Figure 13. Tracking results of the sinusoidal wave input: (a) output variable M; (b) control variable H.
Materials 17 03695 g013
Figure 14. Tracking results of the triangular wave input: (a) output variable M; (b) control variable H.
Figure 14. Tracking results of the triangular wave input: (a) output variable M; (b) control variable H.
Materials 17 03695 g014
Table 1. Parameters of J-A state space model.
Table 1. Parameters of J-A state space model.
ParameterValueUnit
M s 7.2 × 10 5 A / m
a 1.15 A / m
α 2.11 × 10 6 Dimensionless
k2 A / m
c 0.47 Dimensionless
Table 2. The identification results of the simulation model.
Table 2. The identification results of the simulation model.
ParameterValueUnit
M s 7.220 × 10 5 A / m
a 1.146 A / m
α 2.118 × 10 6 Dimensionless
k 1.977 A / m
c 0.466 Dimensionless
Table 3. The identification results of the measured data.
Table 3. The identification results of the measured data.
ParameterValueUnit
M s 5.70 × 10 5 A / m
a 4.92 A / m
α 2.42 × 10 6 Dimensionless
k 5.57 A / m
c 0.89 Dimensionless
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhao, J.; Zhou, J.; Zhang, L.; Sun, J. State Space Representation of Jiles–Atherton Hysteresis Model and Application for Closed-Loop Control. Materials 2024, 17, 3695. https://doi.org/10.3390/ma17153695

AMA Style

Zhao J, Zhou J, Zhang L, Sun J. State Space Representation of Jiles–Atherton Hysteresis Model and Application for Closed-Loop Control. Materials. 2024; 17(15):3695. https://doi.org/10.3390/ma17153695

Chicago/Turabian Style

Zhao, Jiye, Jiqiang Zhou, Lu Zhang, and Jinji Sun. 2024. "State Space Representation of Jiles–Atherton Hysteresis Model and Application for Closed-Loop Control" Materials 17, no. 15: 3695. https://doi.org/10.3390/ma17153695

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop