The Use of Hypergeometric Functions in Hysteresis Modeling

: Accurate hysteresis models are necessary for modeling of magnetic components of devices such as transformers and motors. This study presents a hysteresis model with a convenient analytical form, based on hypergeometric functions with one free parameter, built upon a class of parameterized curves. The aim of this work is to explore suitability of the presented model for describing major and minor loops, as well as to demonstrate improved agreement between experimental and modeled hysteresis loops. The procedure for generating ﬁrst order reversal curves is also discussed. The added parameter, introduced into the model, controls the shape of the model curve, especially near saturation. It can be adjusted to provide better agreement between measured and model curves. The model parameters are nonlinearly dependent; therefore, they are determined in a nonlinear curve ﬁtting procedure. The choice of the initial approximation and a suitable set of constraints for the optimization procedure are discussed. The inverse of the model function, required to generate ﬁrst order reversal curves, cannot be obtained in analytical form. The procedure to calculate the inverse numerically is presented. Performance of the model is demonstrated and veriﬁed on experimental data obtained from measurements on construction steel sheets and grain-oriented electrical steel samples.


Introduction
Whenever a cyclic variation of magnetic field is applied to a ferromagnetic material, the so-called hysteresis loop is obtained.Usually, symmetric closed curves are considered, cf. Figure 1, yet it should be mentioned that in some applications it is crucial to predict the shapes of magnetization curves for arbitrary input signals.The practical importance of hysteresis loop stems from the fact that it allows one to determine the values of some significant properties of magnetic materials like remanence induction and coercive field strength (shown in the figure for the limiting (saturating) loop).Moreover, integration of loop area allows one to determine energy dissipated per cycle and per unit volume [1].Therefore, the study of hysteresis phenomenon still attracts the attention of the engineering community.
The choice of material for a specific application may be facilitated using databases containing measurement results for different materials.However, the abundance of possible excitation scenarios makes the use of such libraries prohibitive from the practical point of view; therefore, much attention is paid to the development of mathematical descriptions of hysteresis loops.Advanced analyses and computations concerning e.g., distribution of magnetic fields and losses in cores of electric devices are often built upon these data.The choice of material for a specific application may be facilitated using databases containing measurement results for different materials.However, the abundance of possible excitation scenarios makes the use of such libraries prohibitive from the practical point of view; therefore, much attention is paid to the development of mathematical descriptions of hysteresis loops.Advanced analyses and computations concerning e.g., distribution of magnetic fields and losses in cores of electric devices are often built upon these data.
A convenient model of hysteresis should be simple to use in calculations, described with a small set of parameters, and provide a good fit to the experimental data.Various mathematical models have been developed to describe hysteresis loops, such as the wide-spread Jiles-Atherton (JA) [2][3][4] and Preisach formalisms [5][6][7][8].However, parameter determination for the JA model can be complicated, whereas the Preisach model can be computationally demanding.Significant effort is being invested in improving the accuracy of hysteresis models.Therefore of special interest are models based on convenient choice of analytical functions, whose parameters are easily determined.For example, in [9][10][11][12], a hysteresis model based on the hyperbolic tangent function is discussed, whereas, in [13,14], similar descriptions, involving the arctan function, are presented.
In this paper, we present an improved hysteresis model, based on hypergeometric functions, which defines a class of parameterized curves suitable for modeling of major and minor hysteresis loops, as well as first order reversal curves (FORCs).The method for generating FORCs, presented in this paper, is based on methods described in [15][16][17], with a modification based on numerical calculation of the inverse model function.Many authors have explored translation and scaling to generate FORCs and minor loops, to mention as representative examples Refs.[18][19][20][21].Numerical procedures for parameter determination and FORC construction, specific to our model, are presented.The good accuracy of the model is verified on experimental data obtained from measurements on commercially available steel sheets and grain-oriented electrical steel.

Model Description
An essential factor in choosing a good analytical model is how accurately it describes the physical behavior under the applied magnetic field, when the domain structure changes due to domain wall motion, pinning, and wall rotation.Starting from a simple model for the magnetic moment of the atom and the quantum interpretation of spin, the energy of the magnetic dipole is expressed via probabilities; see, for example [9,22,23].This approach leads to the model of an anhysteretic magnetization curve expressed with the hyperbolic tangent function A convenient model of hysteresis should be simple to use in calculations, described with a small set of parameters, and provide a good fit to the experimental data.Various mathematical models have been developed to describe hysteresis loops, such as the wide-spread Jiles-Atherton (JA) [2][3][4] and Preisach formalisms [5][6][7][8].However, parameter determination for the JA model can be complicated, whereas the Preisach model can be computationally demanding.Significant effort is being invested in improving the accuracy of hysteresis models.Therefore of special interest are models based on convenient choice of analytical functions, whose parameters are easily determined.For example, in [9][10][11][12], a hysteresis model based on the hyperbolic tangent function is discussed, whereas, in [13,14], similar descriptions, involving the arctan function, are presented.
In this paper, we present an improved hysteresis model, based on hypergeometric functions, which defines a class of parameterized curves suitable for modeling of major and minor hysteresis loops, as well as first order reversal curves (FORCs).The method for generating FORCs, presented in this paper, is based on methods described in [15][16][17], with a modification based on numerical calculation of the inverse model function.Many authors have explored translation and scaling to generate FORCs and minor loops, to mention as representative examples Refs.[18][19][20][21].Numerical procedures for parameter determination and FORC construction, specific to our model, are presented.The good accuracy of the model is verified on experimental data obtained from measurements on commercially available steel sheets and grain-oriented electrical steel.

Model Description
An essential factor in choosing a good analytical model is how accurately it describes the physical behavior under the applied magnetic field, when the domain structure changes due to domain wall motion, pinning, and wall rotation.Starting from a simple model for the magnetic moment of the atom and the quantum interpretation of spin, the energy of the magnetic dipole is expressed via probabilities; see, for example [9,22,23].This approach leads to the model of an anhysteretic magnetization curve expressed with the hyperbolic tangent function where M S is saturation magnetization, m is magnetic moment, k B is the Boltzmann constant, and T is temperature.x = mH/k B T is the reduced field strength expressed in dimensionless units.
Energies 2020, 13, 6500 3 of 14 Hysteresis loop branches can be constructed by shifting the anhysteretic curve (1) horizontally by the value of h c , dependent on the coercive field.In this way, only irreversible magnetization occurring due to domain wall motion is included in the model.Reversible magnetization due to domain rotation is represented by the term qH, which exhibits an approximately linear dependence on the applied magnetic field.
It is worth mentioning that the well-known Landau-Lifshitz-Gilbert (LLG) equation can be used to describe the hysteresis phenomenon with a simplified micromagnetic model that can be combined with a magnetic circuit simulation [24], yet it requires a relatively long computation time.Reference [25] points out that some solutions to the LLG equation can be explicitly expressed with confluent hypergeometric functions, which are also included in the present model.
Analytical hysteresis models based on hyperbolic functions [10] usually depend on physical parameters such as magnetization at saturation, coercive force, and temperature.Hysteresis loops are thus mathematically expressed as B = B(H) or M = M(H).We refer the readers to the book [9] for further details.
For certain combinations of a, b, and x, the hypergeometric function reduces to some of the special functions.One such case is e x = 1 F 1 (a; a; x) for any arbitrary a. Taking tanh from (1) and replacing e 2x with 1 F 1 (a; Let us now define to describe the descending and ascending branches of hysteresis, respectively, where h c is coercive force, B s is saturation magnetic flux density, and τ is the scaling factor.For simplicity, we denote the model (4) with F(a, H) unless a specific branch is addressed, and, for a = 1, we use the shorthand notation T(H) = F(1, H).The term B s f (a, (H + h c )/τ) in ( 4) is related to irreversible magnetization, and qH to reversible magnetization.This form is well suited for symmetric major and minor loops.
The constant d can be added to (4) to account for vertical displacement occurring in asymmetric curves and FORCs, and also to compensate for adjustments needed to make the model curves coincide at loop tips.
The hysteresis model based on the hyperbolic tangent has a physical explanation, but it does not include all physical effects occurring in materials.By adjusting the parameter a in (3), the model curve is adjusted to better represent measured data when the material approaches saturation under magnetization.As the distance between a and 1 increases, the difference between f (a, x) and the hyperbolic tangent becomes more prominent, cf. Figure 2.This property of (3) has been shown to lead to improved agreement between the model and measured data.However, the difference shown in Figure 2 must be accounted for in the parameter determination procedure.shown to lead to improved agreement between the model and measured data.However, the difference shown in Figure 2 must be accounted for in the parameter determination procedure.x for a values from 0.6 to 1.4.

Parameter Determination
Estimates of the model parameters , , , , d sc B h q  can be determined from the measured data; this method is usually supplemented with a numerical fitting procedure.The quality of the fit can be assessed by examining numerical indicators such as the relative error of the residual vector expressed via the Euclidean norm or graphically, by plotting the error expressed as a normalized difference between the model and experimental data.Here,   , ii hb , 1, 2, , in  denotes an array of measured data.Curve fitting involves iterative solving of a non-linear least squares problem using methods such as Newton or Levenberg-Marquardt.As the process involves complex calculations, i.e., evaluating the Jacobian at each iteration, a good choice of initial values is important.Wolfram Mathematica software was used for numerical calculations.

Choice of the Initial Values
Initial values for the optimization procedure are determined from the physical properties of the curve in a manner similar to the one described in [10].Model parameters can be obtained directly for   1, FH and then used as initial values in the fitting procedure with the additional parameter a in

 
, F a H . Depending on the shape of the curve and the choice of initial parameters, the optimization procedure may converge to a less than satisfactory stationary point, or not converge at all.If necessary, the initial values can be adjusted using interactive calculation possibilities of the Mathematica GUI by the Manipulate function.In this way, it is possible to visually track the effect of parameters on the model curve and determine constraints for the fitting procedure.From our experience, a reasonable constraint on the parameter a prevents excess distortion of the model curve, for example:

Coincidence Point Adjustment
The symmetrical tanh function alone cannot represent asymmetry in the magnetization and demagnetization parts of hysteresis.To resolve this, a displacement parameter d is usually added

Parameter Determination
Estimates of the model parameters τ, B s , h c , q, d can be determined from the measured data; this method is usually supplemented with a numerical fitting procedure.The quality of the fit can be assessed by examining numerical indicators such as the relative error of the residual vector expressed via the Euclidean norm or graphically, by plotting the error expressed as a normalized difference between the model and experimental data.Here, (h i , b i ), i = 1, 2, . . ., n denotes an array of measured data.Curve fitting involves iterative solving of a non-linear least squares problem using methods such as Newton or Levenberg-Marquardt.As the process involves complex calculations, i.e., evaluating the Jacobian at each iteration, a good choice of initial values is important.Wolfram Mathematica software was used for numerical calculations.

Choice of the Initial Values
Initial values for the optimization procedure are determined from the physical properties of the curve in a manner similar to the one described in [10].Model parameters can be obtained directly for F(1, H) and then used as initial values in the fitting procedure with the additional parameter a in F(a, H).Depending on the shape of the curve and the choice of initial parameters, the optimization procedure may converge to a less than satisfactory stationary point, or not converge at all.If necessary, the initial values can be adjusted using interactive calculation possibilities of the Mathematica GUI by the Manipulate function.In this way, it is possible to visually track the effect of parameters on the model curve and determine constraints for the fitting procedure.From our experience, a reasonable constraint on the parameter a prevents excess distortion of the model curve, for example:

Coincidence Point Adjustment
The symmetrical tanh function alone cannot represent asymmetry in the magnetization and demagnetization parts of hysteresis.To resolve this, a displacement parameter d is usually added to the model T(H) to shift the upper and lower branches.An example is presented in Figure 3, with model parameters h c = 382.4,τ = 272.9,B s = 0.554, q = 2.17 × 10 −4 , and d = −0.117.This simple approach cannot be applied to F(a, H) due to the nonlinear dependence of parameters.
to the model   TH to shift the upper and lower branches.An example is presented in Figure 3 .This simple approach cannot be applied to   , F a H due to the nonlinear dependence of parameters.On the other hand, the presented model ( 4) is based on an inherently asymmetrical function   , f a H which better describes asymmetric branches.Let us remark that parameter values for   , F a H , 1 a  cannot simply be carried over from   TH.Instead, they should be used as initial values in a new optimization procedure, which should be performed on all parameters simultaneously, including a .
Plotting   , F a H with the same set of parameters as in Figure 4 and some 1 a  , the situation similar to the one in Figure 5 is obtained, where the upper and lower branches are apart by B  and to the model   TH to shift the upper and lower branches.An example is presented in Figure 3 .This simple approach cannot be applied to   , F a H due to the nonlinear dependence of parameters.On the other hand, the presented model ( 4) is based on an inherently asymmetrical function   , f a H which better describes asymmetric branches.Let us remark that parameter values for   , F a H , 1 a  cannot simply be carried over from   TH.Instead, they should be used as initial values in a new optimization procedure, which should be performed on all parameters simultaneously, including a .
Plotting   , F a H with the same set of parameters as in Figure 4 and some 1 a  , the situation similar to the one in Figure 5  On the other hand, the presented model ( 4) is based on an inherently asymmetrical function f (a, H) which better describes asymmetric branches.Let us remark that parameter values for F(a, H), a 1 cannot simply be carried over from T(H).Instead, they should be used as initial values in a new optimization procedure, which should be performed on all parameters simultaneously, including a.
Plotting F(a, H) with the same set of parameters as in Figure 4 and some a 1, the situation similar to the one in Figure 5 is obtained, where the upper and lower branches are apart by ∆B and do not coincide at H tip , B tip , Figure 5.To enforce coincidence, B s is adjusted by introducing the additional constraint B upper H tip = B lower H tip = B tip (7) which causes B s to deviate somewhat from its original physical interpretation.Furthermore, additional constraint is required to limit the deviation, for example 0.8b max ≤ B s ≤ 1.2b max (8) Energies 2020, 13, 6500 6 of 14 shows good conformance to experimental data (Figure 6).
The comparison of relative errors and mean relative errors between models is shown in Figure 7 for the upper branch of the loop; the results are symmetrical in H for the lower branch.The model   , F a H yields a lower maximum relative error of 4.5% versus 13% for   TH and a lower mean error of 2% versus 4.5%.Although at the first sight it may seem that this situation could have been resolved by simply scaling the saturation value or by shifting the branches by ∆B, the effects of the parameters a, B s and d are nonlinearly dependent and as such must be treated simultaneously.Thus, the constraints ( 6), ( 7) and ( 8) must be introduced into the fitting problem.
With the introduced constraints, a new fitting problem with one additional parameter, a, is formed and solved.The resulting model curve for a = 0.65, h c = 540.1,τ = 489.8,B s = 1.53, q = 8.7 × 10 −5 , and d = 0.63 shows good conformance to experimental data (Figure 6).
Although at the first sight it may seem that this situation could have been resolved by simply scaling the saturation value or by shifting the branches by B  , the effects of the parameters a , s B and d are nonlinearly dependent and as such must be treated simultaneously.Thus, the constraints ( 6), (7)  shows good conformance to experimental data (Figure 6).
The comparison of relative errors and mean relative errors between models is shown in Figure 7 for the upper branch of the loop; the results are symmetrical in H for the lower branch.The model

 
, F a H yields a lower maximum relative error of 4.5% versus 13% for   TH and a lower mean error of 2% versus 4.5%.The comparison of relative errors and mean relative errors between models is shown in Figure 7 for the upper branch of the loop; the results are symmetrical in H for the lower branch.The model F(a, H) yields a lower maximum relative error of 4.5% versus 13% for T(H) and a lower mean error of 2% versus 4.5%.

Measurements
Experimental hysteresis data was obtained in a laboratory, at room temperature, using ring specimens equipped with primary and secondary windings.A principal scheme of the measurement setup is shown in Figure 8.The value of magnetic field strength H is proportional to current 1 i and the voltage drop 1 u on resistor 1 R .The value of magnetic flux density B is proportional to integrated voltage induced in the secondary winding of the sample.The values of voltage drop 1 u and output voltage of the integrator are simultaneously sampled on the data acquisition equipment (DAQ) and stored.The setup excites the sample with magnetic field strength H, generated by the programmable generator of the control signal.Measurements may be carried out using sinusoidal excitation for frequencies from 10 Hz to 1 kHz.Measurements were conducted using the measurement setup shown in Figure 9. Excitation for the primary coil was supplied from the programmable GF-1 function generator.A Tektronix TDS5032 digital oscilloscope was used for simultaneous data acquisition on two channels.Voltage on a precision 1 shunt of negligible inductance, which was connected in series with the primary coil of the toroidal sample, was sampled on the first channel.Output from the electronic integrator was sampled on the second channel.Measurements were performed for excitation frequencies from 10Hz, 50Hz up to 450Hz and for current intensities from tens to hundreds of milliamperes.For the purpose of modeling, we have used the lowest possible frequency in order to avoid the distorting effect of eddy currents induced in the conductive core material on the shape of hysteresis loop.

Measurements
Experimental hysteresis data was obtained in a laboratory, at room temperature, using ring specimens equipped with primary and secondary windings.A principal scheme of the measurement setup is shown in Figure 8.The value of magnetic field strength H is proportional to current i 1 and the voltage drop u 1 on resistor R 1 .The value of magnetic flux density B is proportional to integrated voltage induced in the secondary winding of the sample.The values of voltage drop u 1 and output voltage of the integrator are simultaneously sampled on the data acquisition equipment (DAQ) and stored.The setup excites the sample with magnetic field strength H, generated by the programmable generator of the control signal.Measurements may be carried out using sinusoidal excitation for frequencies from 10 Hz to 1 kHz.

Measurements
Experimental hysteresis data was obtained in a laboratory, at room temperature, using ring specimens equipped with primary and secondary windings.A principal scheme of the measurement setup is shown in Figure 8.The value of magnetic field strength H is proportional to current 1 i and the voltage drop 1 u on resistor 1 R .The value of magnetic flux density B is proportional to integrated voltage induced in the secondary winding of the sample.The values of voltage drop 1 u and output voltage of the integrator are simultaneously sampled on the data acquisition equipment (DAQ) and stored.The setup excites the sample with magnetic field strength H, generated by the programmable generator of the control signal.Measurements may be carried out using sinusoidal excitation for frequencies from 10 Hz to 1 kHz.Measurements were conducted using the measurement setup shown in Figure 9. Excitation for the primary coil was supplied from the programmable GF-1 function generator.A Tektronix TDS5032 digital oscilloscope was used for simultaneous data acquisition on two channels.Voltage on a precision 1 shunt of negligible inductance, which was connected in series with the primary coil of the toroidal sample, was sampled on the first channel.Output from the electronic integrator was sampled on the second channel.Measurements were performed for excitation frequencies from 10Hz, 50Hz up to 450Hz and for current intensities from tens to hundreds of milliamperes.For the purpose of modeling, we have used the lowest possible frequency in order to avoid the distorting effect of eddy currents induced in the conductive core material on the shape of hysteresis loop.Measurements were conducted using the measurement setup shown in Figure 9. Excitation for the primary coil was supplied from the programmable GF-1 function generator.A Tektronix TDS5032 digital oscilloscope was used for simultaneous data acquisition on two channels.Voltage on a precision 1 Ω shunt of negligible inductance, which was connected in series with the primary coil of the toroidal sample, was sampled on the first channel.Output from the electronic integrator was sampled on the second channel.Measurements were performed for excitation frequencies from 10Hz, 50Hz up to 450Hz and for current intensities from tens to hundreds of milliamperes.For the purpose of modeling, we have used the lowest possible frequency in order to avoid the distorting effect of eddy currents induced in the conductive core material on the shape of hysteresis loop.Sample 1 was a specimen of commercially available 0.4mm steel sheets used for manufacture of device cases, whereas Sample 2 was a specimen of grain oriented electrical steel (M103-27p), cf. Figure 10.

Numerical Results
The accuracy and practical suitability of the presented model was tested on experimental data obtained from laboratory measurements presented in the previous section.Hysteresis data was obtained by measuring primary current and integrated output voltage from the secondary coil of the test core, with different excitation currents at a low excitation frequency.Calculations were performed in Mathematica, using the NonlinearModelFit function.

Major Loops
The major loop for Sample 1 is shown in Figures 4 and 6, modeled with   TH and   , F a H respectively.Model errors are compared in Figure 7.This example was used to discuss the parameter determination procedure in Section 3, and the advantages of the presented model are also discussed there.
The major loop for Sample 2 is shown in Figures 11 and 12  Sample 1 was a specimen of commercially available 0.4mm steel sheets used for manufacture of device cases, whereas Sample 2 was a specimen of grain oriented electrical steel (M103-27p), cf. Figure 10.Sample 1 was a specimen of commercially available 0.4mm steel sheets used for manufacture of device cases, whereas Sample 2 was a specimen of grain oriented electrical steel (M103-27p), cf. Figure 10.

Numerical Results
The accuracy and practical suitability of the presented model was tested on experimental data obtained from laboratory measurements presented in the previous section.Hysteresis data was obtained by measuring primary current and integrated output voltage from the secondary coil of the test core, with different excitation currents at a low excitation frequency.Calculations were performed in Mathematica, using the NonlinearModelFit function.

Major Loops
The major loop for Sample 1 is shown in Figures 4 and 6, modeled with   TH and   , F a H respectively.Model errors are compared in Figure 7.This example was used to discuss the parameter determination procedure in Section 3, and the advantages of the presented model are also discussed there.
The major loop for Sample 2 is shown in Figures 11 and 12

Numerical Results
The accuracy and practical suitability of the presented model was tested on experimental data obtained from laboratory measurements presented in the previous section.Hysteresis data was obtained by measuring primary current and integrated output voltage from the secondary coil of the test core, with different excitation currents at a low excitation frequency.Calculations were performed in Mathematica, using the NonlinearModelFit function.

Major Loops
The major loop for Sample 1 is shown in Figures 4 and 6, modeled with T(H) and F(a, H) respectively.Model errors are compared in Figure 7.This example was used to discuss the parameter determination procedure in Section 3, and the advantages of the presented model are also discussed there.
The major loop for Sample 2 is shown in Figures 11 and 12, modeled with T(H) and F(a, H) respectively.Parameter values are h c = 68.75,τ = 5.66, B s = 1.44, q = 2.5 × 10 −4 , d ≈ 0 for T(H) and a = 0.52, h c = 70.78,τ = 6.29,B s = 1.53, q = 1.86 × 10 −4 , d = 0.055 for F(a, H).It can be seen that the presented model follows the measured data exceptionally well during the magnetization stage of the hysteretic cycle.The comparison of relative errors and mean relative errors between the two models (Figures 11 and 12) is shown in Figure 13.With the mean error of 10%, F(a, H) is clearly better than T(H) yielding 21%.Energies 2020, 13, 6500 10 of 14

First Order Reversal Curves
First order reversal curves can be calculated in various ways from the model for the major loop.We present a technique based on the method established in [17], which in turn is based on earlier papers [15] and [16].In [17], hysteresis loops are expressed in terms of magnetizing current versus flux linkage, i m (λ) in the iλ plane.A first order reversal curve is defined as i m = f (λ) = F(λ + x), where i m = F(λ) is the equation of ascending branch of major hysteresis loop and x = X(λ) is a function describing the displacement of the major branch along the λ axis.To apply the considered method to the model ( 4), formulas must be applicable in the HB plane.
A first order reversal curve is generated between an arbitrary starting point on the descending major branch and the positive loop tip (Figure 14).The curve is obtained by displacing the major branch by an amount expressed with the function First order reversal curves can be calculated in various ways from the model for the major loop.We present a technique based on the method established in [17], which in turn is based on earlier papers [15] and [16].In [17], hysteresis loops are expressed in terms of magnetizing current versus flux linkage,   m i  in the i plane.A first order reversal curve is defined as is the equation of ascending branch of major hysteresis loop and function describing the displacement of the major branch along the  axis.To apply the considered method to the model ( 4), formulas must be applicable in the HB plane.
A first order reversal curve is generated between an arbitrary starting point on the descending major branch and the positive loop tip (Figure 14).The curve is obtained by displacing the major branch by an amount expressed with the function where


. The initial value 0 h for the root-finding method is chosen as follows.The hysteresis branch is approximated with several linear segments, constructed by a linear fit.The value 0 h is obtained from the inverse of the closest linear segment (Figure 15).The root-finding method then calculates the numerical solution n h in n iterations, which is taken as the value of the inverse 1 lower B  .Thanks to the shape of hysteresis branches, convergence conditions For a chosen starting point 1 with coordinates (h 1 , b 1 ), the value of the parameter x 1 is calculated as the difference x 1 = B lower (h 1 ) − B upper (h 1 ) .It represents the initial displacement between points 1 and 1.
An arbitrary point P on the reversal curve is calculated as Since the ascending branch in the model ( 4) is expressed with B lower (H), the inverse function H = B −1 lower (B) is needed for computation.Analytical form of the inverse hypergeometric function is not feasible, therefore one must resort to numerical computation.
The value of the inverse function is computed by numerically solving the equation B lower (h) = b 0 for any given value b 0 = b − X(b).The initial value h 0 for the root-finding method is chosen as follows.The hysteresis branch is approximated with several linear segments, constructed by a linear fit.The value h 0 is obtained from the inverse of the closest linear segment (Figure 15).The root-finding method then calculates the numerical solution h n in n iterations, which is taken as the value of the inverse B −1 lower .Thanks to the shape of hysteresis branches, convergence conditions for the iterative method are satisfied for all values of b 0 .In our experiments, using five linear segments (Figure 15), the iterative method took an average of 3.6 iterations to calculate and plot B −1 lower .
for the iterative method are satisfied for all values of 0 b .In our experiments, using five linear segments (Figure 15), the iterative method took an average of 3.6 iterations to calculate and plot  Convergence conditions are satisfied due to the shape of the model curve.

Minor Loops
One of the important properties of hysteresis models is the ability of the model to represent minor loops.There are various approaches to minor loop construction, e.g., by shifting and scaling major loop branches and adjusting the loop tips.Several minor loops for Sample 1, approximated by   TH and   , F a H are shown in Figure 16 and Figure 17, respectively.Comparing relative errors ( V R ) as the minor loops approach the major loop, advantage of the model (4) becomes more pronounced (Figure 17).

Minor Loops
One of the important properties of hysteresis models is the ability of the model to represent minor loops.There are various approaches to minor loop construction, e.g., by shifting and scaling major loop branches and adjusting the loop tips.Several minor loops for Sample 1, approximated by T(H) and F(a, H) are shown in Figures 16 and 17, respectively.Comparing relative errors (R V ) as the minor loops approach the major loop, advantage of the model (4) becomes more pronounced (Figure 17).
for the iterative method are satisfied for all values of 0 b .In our experiments, using five linear segments (Figure 15), the iterative method took an average of 3.6 iterations to calculate and plot  Convergence conditions are satisfied due to the shape of the model curve.

Minor Loops
One of the important properties of hysteresis models is the ability of the model to represent minor loops.There are various approaches to minor loop construction, e.g., by shifting and scaling major loop branches and adjusting the loop tips.Several minor loops for Sample 1, approximated by   TH and   , F a H are shown in Figure 16 and Figure 17, respectively.Comparing relative errors ( V R ) as the minor loops approach the major loop, advantage of the model (4) becomes more pronounced (Figure 17).

Conclusions
By employing model curves based on a family of parameterized hypergeometric functions, a more accurate hysteresis model with one free parameter is constructed.The presented model has a convenient analytical form that makes it suitable for practical applications.The conditions for parameter determination using a nonlinear fitting procedure are discussed, as well as the applied modification of the method for generating first order reversal curves.Using experimental data, it is shown that the model can be used with good accuracy to represent major and minor loops, as well as simulate first order reversal curves.
The ease of use and the flexibility of simple analytical T(x) model is retained in the case of the extended description, based on hypergeometric functions with a single free parameter.The generalized model is able to describe both major and minor loops of representative soft magnetic materials accurately.This fact is important from the practical point of view, since the examined description is much simpler in implementation than the Jiles-Atherton or Preisach models.The application of hypergeometric functions allows one to consider different classes of magnetic materials.Since the hypergeometric function may be reduced to hyperbolic tangent in the limiting case and the description based on hyperbolic tangent i.e., the T(x) model is particularly suited for materials with strong uni-axial anisotropy, we believe that our generalized model may represent soft magnetic materials with differing anisotropy level.The examination of physical meaning of hypergeometric series shall be the subject of forthcoming research.

Energies 2020 , 13 Figure 1 .
Figure 1.A family of hysteresis loops with different amplitudes for a grain-oriented electrical steel.Source: Wikimedia Commons, author: Stan Zurek.

Figure 1 .
Figure 1.A family of hysteresis loops with different amplitudes for a grain-oriented electrical steel.Source: Wikimedia Commons, author: Stan Zurek.

Figure 2 .
Figure 2. The difference between ( , )f a x and tanh( )x for a values from 0.6 to 1.4.

Figure 2 .
Figure 2. The difference between f (a, x) and tanh(x) for a values from 0.6 to 1.4.

Figure 3 .
Figure 3.The effect of the displacement parameter d in   TH.

Figure 4 .
Figure 4. Measured data modeled with  

Figure 3 .
Figure 3.The effect of the displacement parameter d in T(H).Let us observe the example in Figure4, where the measured data is approximated with T(H) for h c = 518.1,τ = 1017.1,B s = 1.72, q = 3.5 × 10 −5 , and d = −8.6 × 10 −5 .Let us note that the model T(H) + d provides a good fit for the loop in Figure3.However, for the loop in Figure4the best fit value of d is practically zero, i.e., d has no favorable influence on the model curve, which visibly deviates from the measured data.This is a known limitation of the model T(H).

Figure 3 .
Figure 3.The effect of the displacement parameter d in   TH.

Figure 4 .
Figure 4. Measured data modeled with   TH.

Figure 5 .
Figure 5.   , F a H for 0.715 a  before the adjustment of coincidence point is applied.Figure 5. F(a, H) for a = 0.715 before the adjustment of coincidence point is applied.

Figure 5 .
F(a, H) for a = 0.715 before the adjustment of coincidence point is applied.

Figure 5
Figure 5.   , F a H for 0.715 a  before the adjustment of coincidence point is applied.

Figure 6 .
Figure 6.Final result of the fitting procedure with F(a, H), a = 0.65.

Figure 6 .
Figure 6.Final result of the fitting procedure with   , F a H , 0.65 a  .

Figure 7 .
Figure 7.Comparison of errors between   , F a H from Figure 6 and   TH from Figure 4.

Figure 8 .
Figure 8. Schematic of the measurement setup.

Figure 7 .
Figure 7.Comparison of errors between F(a, H) from Figure 6 and T(H) from Figure 4.

Energies 2020 , 13 Figure 6 .
Figure 6.Final result of the fitting procedure with   , F a H , 0.65 a  .

Figure 7 .
Figure 7.Comparison of errors between   , F a H from Figure 6 and   TH from Figure 4.

Figure 8 .
Figure 8. Schematic of the measurement setup.

Figure 8 .
Figure 8. Schematic of the measurement setup.

Figure 10 .
Figure 10.Two ring samples used in measurements, with and without windings.

Figure 10 .
Figure 10.Two ring samples used in measurements, with and without windings.

,
, modeled with   TH and   , F a H respectively.Parameter values are 68F a H .It can be seen that the presented model follows the measured data exceptionally well during the magnetization stage of the hysteretic cycle.The comparison of relative errors and mean relative errors between the

Figure 10 .
Figure 10.Two ring samples used in measurements, with and without windings.

Energies 2020 ,
13,  x FOR PEER REVIEW 9 of 13 two models (Figures11 and 12) is shown in Figure13.With the mean error of 10%,   , F a H is clearly better than   TH yielding 21%.

Figure 11 .
Figure 11.Major loop for Sample 2 modeled with   TH.

Figure 12 .
Figure 12.Major loop for Sample 2 modeled with   , F a H , 0.52 a  .

Figure 13 .
Figure 13.Comparison of errors for Sample 2 between   , F a H and   TH from Figures 11 and 12.

Figure 11 .
Figure 11.Major loop for Sample 2 modeled with T(H).

Figure 11 .
Figure 11.Major loop for Sample 2 modeled with   TH.

Figure 12 .
Figure 12.Major loop for Sample 2 modeled with   , F a H , 0.52 a  .

Figure 13 .
Figure 13.Comparison of errors for Sample 2 between   , F a H and   TH from Figures 11 and 12.

Figure 11 .
Figure 11.Major loop for Sample 2 modeled with   TH.

Figure 12 .
Figure 12.Major loop for Sample 2 modeled with   , F a H , 0.52 a  .

Figure 13 .
Figure 13.Comparison of errors for Sample 2 between   , F a H and   TH from Figures 11 and 12.

Figure 13 .
Figure 13.Comparison of errors for Sample 2 between F(a, H) and T(H) from Figures 11 and 12.
Figure 13.Comparison of errors for Sample 2 between F(a, H) and T(H) from Figures 11 and 12.

.
Parameters  and  depend on ferromagnetic material and can be adjusted to influence the slope of the magnetic path.Here 0

Figure 14 .
Figure 14.Generated first order reversal curve on model (4).For a chosen starting point 1 with coordinates   11 , hb , the value of the parameter 1x is

Figure 15 .
Figure 15.Obtaining initial values for numerical calculation of the inverse model function.Convergence conditions are satisfied due to the shape of the model curve.

Figure 16 .
Figure 16.Minor loops for Sample 1 approximated with   TH.

Figure 15 .
Figure 15.Obtaining initial values for numerical calculation of the inverse model function.Convergence conditions are satisfied due to the shape of the model curve.

Figure 15 .
Figure 15.Obtaining initial values for numerical calculation of the inverse model function.Convergence conditions are satisfied due to the shape of the model curve.

Figure 16 .
Figure 16.Minor loops for Sample 1 approximated with  

Figure 17 .
Figure 17.Minor loops for Sample 1 approximated with   , F a H .Comparison of errors obtained and (8) must be introduced into the fitting problem.With the introduced constraints, a new fitting problem with one additional parameter, a , is formed and solved.The resulting model curve for , modeled with   TH and   It can be seen that the presented model follows the measured data exceptionally well during the magnetization stage of the hysteretic cycle.The comparison of relative errors and mean relative errors between the , F a H .