1. Introduction
For manufacturers of magnetic materials, measurement techniques are used to determine macroscopic properties in terms of characteristics (losses, magnetisation, coercive and remanent fields, etc.) and curves (virgin curve, hysteresis loop, commutation curve, etc.). In addition, these measurement techniques are used for the systematic study and development of materials. Many of the common test methods are specified in IEC 60404 ff. Standard techniques include the hysteresis graph, the coercive meter, the Epstein frame, the single sheet tester and the double-C yoke (see, for example, [
1]).
In order to better understand and model the various loss mechanisms that occur in electrical machines during operation, the actual degradation of electrical steel sheets due to cutting, punching, welding etc. is of paramount importance. A finite-element (FE) model has been presented in [
2] in order to consider the local degradation effect. The approach introduces a certain number of boundary layers along the punched edges, where the relative permeability decreases according to a certain degradation profile. Thereby, the degradation profile has been assumed to be
      
      with an initial value 
 at the cut edge and the degradation skin depth 
. 
Figure 1 displays such a degradation profile for 
 and 
mm evaluated in [
2].
In [
3], the effects of three different cutting techniques, namely punching, waterjet and laser cutting, on the magnetic properties of grain-oriented electrical steel sheets have been investigated, and a loss model based on measurements (using an Epstein frame) has been developed. The result showed that the relative increase in core losses was in the range of 180–120%, 50–40% and 
 for laser, punching and waterjet cutting, respectively. In addition to such approaches, measurements based on sensors that evaluate the magnetic field locally, e.g., in [
4,
5], have been developed. In [
4], the needle probe method was used in combination with a scalar Preisach hysteresis operator in 2D FE simulations (based on the diffusion equation for the magnetic field intensity), and the Preisach distribution function was identified via least squares minimisation using the sequential programming method. In [
5], the hysteresis properties of electrical steel sheets in the centre of the test material could be determined based on a single U-shaped yoke electromagnet, two Hall sensors (measuring the tangential surface fields) and a sensing coil around the yoke. Impressive research has recently been presented in [
6], where pressure needle probes and micrometric giant magneto-resistance (GMR) sensors were mounted on each of the steel sheets in a laminated core. This allowed measurements to be made of the magnetic hysteresis curves for all the individual steel sheets (the averaged magnetic property for each individual steel sheet; no consideration of the cutting-edge effect). In conclusion, there is currently no method available to locally determine the degradation of electric steel sheets due to punching and/or cutting processes so that material models can be fitted and numerical simulations can be performed with sufficient accuracy. It should be noted that the problem at hand is quite complex, as one can only measure the magnetic field quantities outside the steel sheets, i.e., the stray field. Therefore, the local determination of the magnetic material behaviour requires the solution of an inverse problem.
In a previous publication [
7], we demonstrated the successful identification of the nonlinear 
-curve (relation between magnetic induction, 
, and magnetic field strength, 
) based on Epstein frame measurements using (1) a combined Newton-type method with a full multigrid method as a linear solver (i.e., iterative regularisation via coarse discretisation) and (2) a nonlinear full multigrid method. The aim of our current research is to develop a combined method based on measurements, numerical simulations and inverse schemes to determine a sequence of nonlinear 
-curves to locally characterise the magnetic properties of electrical steel sheets and, thus, be able to quantify the cutting-edge effects. Recently, we have proposed an inverse scheme capable of locally determining the change in the linear magnetic property (the linear relationship between 
B and 
H via magnetic reluctance) due to the cutting-edge effects. The approach is based on a quasi-Newton method using Broyden’s update formula to compute the gradients of the objective function with respect to the local linear magnetic reluctivity [
8]. In order to advance the practical relevance, this research paper extends the linear magnetic material model to a nonlinear one and uses the adjoint method (see, e.g., [
9]) to compute the gradients of the searched-for parameters, which are the coefficients in all 
-curves. We would like to emphasise that the developed inverse scheme is capable of determining local material parameters in general as soon as the measurement setup can be accurately simulated using a physical model based on partial differential equations.
The remainder of the article is structured as follows. In 
Section 2, we define the problem and discuss the physical model of a sensor–actuator system with which the measurements will be made (in our tests, these measurements will be provided through numerical simulations). Next, 
Section 3 describes in detail the inverse scheme, including the formulation of the forward, as well as adjoint, problems, the computation of the gradient and the regularization. 
Section 4 presents the numerical results, and their detailed discussion is summarised in 
Section 5. Finally, we conclude and provide an outlook for the next research steps.
  2. Problem Definition
The goal is to identify the nonlinear 
-curve in each subdomain 
, especially to find out how the magnetic properties change in the direction of the cutting edges. In doing so, we assumed 
 sensors and 
 positions of the sensor–actuator system, and for each position, we excited the magnetic field from a minimum to a maximum over 
 excitation levels (the amplitude of the current density 
). Therefore, the abstract problem may be defined as follows
      
In (
2), the model operator 
 is defined according to the partial differential equation (PDE) of magnetostatics, which has to be solved in order to get the magnetic vector potentials, 
, and in a postprocessing step, the magnetic flux densities, 
 (for details, see 
Section 3.1). In doing so, the objective functional is defined according to
      
      where 
 is the domain of sensor 
s, 
 is the computed magnetic flux density and 
 the measured one, 
 the computed magnetic vector potential, 
 the vector of parameters of the 
-curves, 
 the vector of reference parameters of the 
-curves and 
 a diagonal weighting matrix. Since the entries in the parameter vector 
 are of different sizes, the diagonal matrix 
 scales them to a value of about 
. Furthermore, 
 is the model operator (defined according to the weak form of the PDE, including boundary conditions) with appropriate function spaces, 
V and 
W.
  3. Inverse Scheme
Let us introduce the parameter-to-state map,
      
      which is implicitly defined via the model equation
      
The Lagrange function is introduced as
      
      where 
 denotes the dual pairing between some function space, 
W, and its dual 
. In the next step, the reduced objective function can be defined as follows
      
Assuming that the parameter to state map 
S is well defined, and 
 are differentiable, we can express the partial derivatives of the reduced functional with reference to each parameter 
 as
      
      for any 
. Using the identity
      
      containing the adjoint operator defined according to
      
      we obtain
      
Choosing 
 such that it solves the adjoint equation
      
      allows us to rewrite (
8) as
      
For the nonlinear 
-curve, we make the following nonlinear function ansatz:
      with constants 
, 
 and 
 yet to be determined. The reluctivity is computed via
      
      and its derivative via
      
Since we assume a possibly different 
 curve in each of the 
 subdomains (see 
Figure 3), we have 
 parameters to identify. In addition, the model operator describes the magnetostatic field
      
      with
      
The weak form reads as
      
      with the function spaces 
 [
10]. The boundary condition included in the definition of the function spaces 
 is 
, resulting in closed field lines corresponding to a solenoidal vector field.
  3.1. Formulation of the Forward Problem
The sensors in the experimental setup shown in 
Figure 2 are Hall sensors capable of measuring static magnetic fields being generated via DC currents in the coils at different excitation levels. To solve the magnetic field problem according to (
16), Newton’s scheme in the weak form for each sensor actuator position, 
p, and excitation level, 
e, reads as [
10]
        
        where 
k is the iteration counter, and 
 is some line search parameter determined using Armijo’s rule [
11]. Edge finite elements are applied using basis functions and hierarchical polynomials from [
12] to discretise the continuous 
 function space. To ensure coercivity, a small regularisation parameter is used to scale the artificial mass matrix, whose entries are six orders of magnitude smaller than those of the stiffness matrix (for details, see [
10]).
  3.2. Formulation of the Adjoint Problem
Since 
 is self-adjoint, the left-hand side of (
10) for each position, 
p, of the sensor–actuator system and excitation level, 
e, of the current density, 
, in the coils is (see (18))
        
For the right-hand side, we explore the Gâteaux derivative and obtain for each position, 
p, and excitation level, 
e,
        
        and arrive at
        
Finally, the weak formulation for the adjoint equation reads as follows
        
Note that the adjoint equation is linear and, therefore, extremely fast to solve compared to the forward simulation, which has to solve a nonlinear system of equations for all unknown vector potentials in the computational mesh (see (18)).
  3.3. Computation of the Gradient
For the evaluation of the gradients, the first term in (
11), according to (
3), computes as
        
The second term in (
11) with the solution 
 of the forward Problem (18) (note that 
) and the solution 
 of the adjoint Equation (
21) is calculated according to
        
The derivative of the magnetic reluctivity 
 with reference to the coefficients in (
23) is computed for each subdomain 
 according to the chosen ansatz (
13) via
        
  3.4. Overall Inverse Scheme
According to the derivations in 
Section 3.1, 
Section 3.2 and 
Section 3.3, all components are available for the inverse scheme. Since the parameter vector 
 is improved iteratively, a stopping criterion and a strategy for the regularisation parameter 
 in the objective function (
3) are needed. To this end, the following relative 
 error norm is defined:
In addition, the choice of the regularisation parameter is crucial in obtaining an optimal solution during the iterative process. If the regularisation parameter is set too high, the minimisation will prioritise the regularisation term, resulting in a strong bias, while setting it too low can lead to instability and the divergence of the iterative process. Depending on the accuracy and resolution of the sensors, there is an a priori upper bound 
 for the error norm defined in (
25) with 
. Using the discrepancy principle [
13], an initial regularisation parameter 
 is chosen, and it is reduced at each iteration step via
        
        until (
25) with 
 is smaller than 
. In all of the following calculations, the values 
 and 
 were chosen.
  4. Numerical Results
Cutting electric steel sheets causes a severe degradation of the magnetic properties in the immediate vicinity of the cut edges. For this reason, the 
mm-thick electrical steel sheets are divided into five subregions (see 
Figure 3), and the density of the regions is significantly higher due to the strong material gradient in the immediate vicinity of the cut edges. The affected region is assumed to have a total length, 
, of 3 mm, and the lengths, 
, of the respective subregions, 
, are summarised in 
Table 1. This distribution of subdomains means that 
 represents the bulk material (unaffected by cutting-edge effects), and it is assumed that the material data for this subdomain are already known from corresponding measurements with an Epstein frame or a single-sheet tester (SST).
The sensor–actuator system is equipped with 
 Hall sensors evenly distributed along the straight line 
 in mm. The Hall sensors are capable of directly measuring all three spatial components of the stray field (
, 
, 
). The electrical steel sheet is measured at 
 different positions so that the Hall sensor 
 (see 
Figure 2) is once directly over the cutting edge and once over the centre of each of the subdomains. Since the material behaviour of the two sheets is symmetrical, only the subdomains in the positive x-domain are measured. The resulting positions are 
 in mm, where 
 is the x-position of sensor 
. At each position 
, the sheets are magnetised at 
 excitation levels by varying the current density, 
, of the excitation coils. The different current density levels, 
, are defined according to the following relations
      
      where 
 is the initial current density and 
 the excitation levels.
Each subdomain is associated with a nonlinear magnetic material behaviour according to (
12), where the parameters 
, 
 and 
 are the unknowns to be determined in the inverse scheme. Since 
 is the already-known bulk material, 12 unknown parameters must be determined 
, where 
 is the corresponding subdomain, and 
 is the parameter index. For example, 
 is the material parameter, 
, of the subdomain 
. For the numerical study, the parameters of the nonlinear material function, 
, are classified into three cases, 
, 
 and 
. Thereby, 
 defines the theoretically real material behaviour and serves as a reference in the sense of calculating the relative errors between the optimised 
 and the exact parameters. Furthermore, 
 is the initial configuration for the iterative inverse scheme, and it has a 
 deviation from the real configuration, 
. In addition, 
 is the reference configuration used for the Tikhonov regularisation, and it is here chosen as the arithmetic mean between 
 and 
. The parameters for the different cases are listed in 
Table 2. The representative 
-curve for 
 and 
 is shown in 
Figure 4.
The measured data, 
, are generated by artificially applying the forward simulation with the exact material data, 
, as listed in 
Table 2, and the defined excitation levels (see (
27)). The measurements are taken at the previously defined positions. Thereby, measurement noise (Gaussian white noise, 
 with 
) is superimposed on the resulting data. To avoid an inverse crime, a finer computational grid of the sensor–actuator system was used to generate the measurement data compared to the model for the inverse scheme (see 
Figure 5).
The stopping criterion, 
, for the iterative procedure can be determined a priori. To do this, the FE model for the inverse method (
Figure 5b) is used to calculate the magnetic flux density, 
, based on the exact material data, 
. Here, we carried out a mesh independence study to obtain reliable magnetic flux density data at the sensor position, resulting in a mesh of approximately 100,000 unknowns (82,000 hexahedral and wedge elements). Based on these results and the previously simulated measurement data 
 on the fine grid (see 
Figure 5a) superimposed by Gaussian noise with 
, the stopping value according to (
25) gives 
. The optimisation algorithm is a 
low-storage BFGS from the 
NLopt software library [
14], to which the computed gradient (
11) and the relative 
 error norm (
25) are passed at each iteration step. In addition to the stopping criterion, a relative error 
 and a relative residual 
 are specified to allow the early termination of the optimisation if no further improvements are achieved.
Based on the given data, the sought parameter vector, 
, is calculated using the proposed method, and the results are presented below. The optimisation was stopped after 48 iterations with a remaining relative error of 
. Since the specified stopping value, 
, could not be reached, the additionally defined tolerances, 
 and 
, were applied. The relative error of the unknown parameter vector, 
, in each iteration step is shown in 
Figure 6 and the general convergence behaviour of the relative 
 error 
 in 
Figure 7.
The optimised values, 
, and the relative errors, 
, are listed in 
Table 3. The corresponding 
-curves are compared in 
Figure 8 to better illustrate the difference between the optimised parameters, 
, and the exact parameters, 
.
Finally, we would like to emphasise that the computational grid used for the inverse scheme resulted in about 39,000 unknowns (30,000 hexahedral and wedge elements), and the total time for obtaining the results (all 48 iterations, see 
Figure 7) was 
h on a PC with 64 GB of memory (10 GB were used for the computation) and five cores. The computation for one FE solution of the nonlinear magnetostatic PDE needed about 
 min. This clearly demonstrates the efficiency of the developed inverse scheme. In addition, the scheme does not rely on the 
low-storage BFGS, and other optimisers are being tested. The computation of the forward and adjoint problem was performed with the open-source FE solver software 
openCFS [
15].
  5. Discussion
The convergence behaviour of 
 in 
Figure 7 shows two characteristic peaks at iteration steps 20 and 38, preceded by a region of barely noticeable change from the residual. These anomalies are also reflected in the behaviour of the relative parameter error, 
, in 
Figure 6. For the iteration range between 12 and 19, there were no more significant changes in the parameters, although the parameters 
 and 
 still showed pronounced errors. The same can be observed for the iteration range of 30 to 37, with the exception that only the parameter 
 shows increased deviations. Due to the underlying nonlinear problem, these anomalies indicate local minima where the optimisation procedure gets stuck and, therefore, there is no improvement in the relative 
 error or the relative error of the parameters 
. To overcome these local minima, the optimiser makes a significant change to the parameters, which is reflected in the subsequent deviation of the parameters. Thus, after iteration step 20, the relative error of the parameters 
 and 
 can be significantly improved. After iteration step 38, however, this did not lead to success, so the optimisation was stopped according to the additionally defined stopping criteria, although the predefined 
 was not reached.
Comparing the 
-curves of the exact and optimised parameters, as shown in 
Figure 8, it can be seen that the curves based on the optimised parameter are lower than those based on the exact parameter. This behaviour is mainly due to the following points. Firstly, the measurement data used are superimposed with Gaussian white noise, which allows a solution to be found only in the vicinity of the exact solution. Secondly, due to the ill-posedness of the inverse problem and the consequent need to use a regularisation (Tikhonov regularisation), the regularisation term and, thus, the a priori information are included in the calculated parameters. This results in the remaining deviations listed in 
Table 3. However, the increased relative errors, 
, for the subdomain 
 are noteworthy. This could be due to the chosen excitation levels or the positioning of the sensor–actuator system in the sense that the sensitivity to the parameters in this subdomain is less pronounced compared to the others. These parameters were chosen arbitrarily. In order to use the optimal excitation levels and positioning of the sensor–actuator system with respect to the determination of the unknown material parameter vector 
, a design of experiment (DOE) can significantly improve the current convergence behaviour.