Abstract
The resolution of inverse problems is a quite common task in the diagnostic processes based on electromagnetic field measurements, in particular when internal characteristics of the object under test must be estimated from external measurements. This class of problems are well known to be ill posed, and a number of different regularization techniques have been proposed to make the estimation process reliable. In this paper, with reference to an application in the framework of low frequency magnetic fields measurements, a comparison of some regularization techniques is presented, in order to highlight advantages and drawbacks of each in the proposed application.
Introduction
Manufacturing processes for high field magnets usually include a number of quality checks to try characterizing possible discrepancies in the magnet layout with respect to nominal design, which, depending on the specific case, can produce relevant performance decrease in spite of their reduced amplitude. Examples of such high-performance magnets are the poloidal and toroidal coils in thermonuclear fusion reactors, the magnetic lenses in particle accelerators, the more common background field magnets in magnetic resonance imaging devices. Standard procedures rely on “optical” surveys, but deformations coming after insertion in the case and final assembly are not detectable with such approaches; external magnetic measurements have been proposed to estimate the possible deformations of conductors inside the magnet. In the following, the attention will be limited to large (superconducting) high field magnets, as for example those used in devices for Thermonuclear Fusion [1,2], but many of the exposed results can be easily extended to other type of problems [3–5]. During the magnetic testing, these coils are energized at room temperature, with a reduced current supply. A schematic view of the measurement layout, with reference to a circular coil with a Winding Pack (WP) of 25 conductors, arranged in 5 layers, is sketched in Fig. 1.

Sketch of the measurement layout for a circular coil.
Taking into account: (i) the limitations on the frequency, that must be very low to avoid inducing eddy currents in the metallic case and support structures, (ii) the expected amplitude of the field, in the order of few mT in the considered case, and (iii) the need of measuring the field with high spatial resolution to catch the small local field map variation induced by deformations, in this study the underlying measurement system is assumed to be based on a set of Hall probes, fixed to a plastic holder encircling the magnet. This “system” is used to measure simultaneously the tangential component of flux density in N p points, repeating the process in N s sections along the coil. The difference between the nominal and the actual field map (the magnet “field error”) is expected to be very small compared to the nominal field, since manufacturing and assembly tolerances are typically very tight in the case of high accuracy manufacturing processes. Consequently, the measurement procedure is quite demanding, as it must appreciate small field variations in presence of noise, background field and other nuisances. The estimation process must then be carefully designed, considering both the measurement system characteristics and the data processing, since the reconstruction implies the treatment of the problem ill-posedness.
The attention is here focused on the possible methods to regularize the described estimation problem. A brief description of the numerical methods used to simulate the measurement process is first given, with reference to a circular coil for the sake of simplicity. The considered regularization methods are then briefly recalled. A comparison of the different methods is then illustrated, and finally some discussion of drawbacks and advantages is reported.
The magnets characterization problem involves the computation of the flux density generated by a magnet affected by known deformation (described by a trial deformation parameters array

Schematic view of coil discretization into current segments.
The total field in each measurement point
As anticipated, in the additional hypothesis of very small variation δ
Due to the ill conditioned nature of
Since the seminal proposal of Tikhonov [7], many regularization algorithms have been proposed to counteract the ill conditioning of linear inverse problems. In the authors’ view, a general yet rough subdivision should include direct algorithm, iterative algorithm and machine-learning algorithms [8–10], although some of the latter (e.g. Artificial Neural Networks, ANN) are able to deal also with non-linear problems. A different approach considers simultaneously the solution and the uncertainties, both on the solution itself and on uncontrolled parameters (see, e.g., [11]). The aim of this approach is to estimate the solution uncertainty rather than affecting the structure of the inverse operator as defined in (7), and will not be further considered here.
In this comparative study, we have considered:
Direct algorithm: Tikhonov Regularization (TR) [7], Truncated Singular Value Decomposition (TSVD) [12] and Damped Singular Value Decomposition (DSVD) [13], Constrained Least Squares (CLSQ) [14], and Discrepancy Principle (DP) [15]; Iterative Algorithms: Conjugate Gradient (CG) [16], 𝜈-method (𝜈M) [17], Algebraic Reconstruction Technique (ART) [18]; Machine-Learning methods: Bayesian ANN (B-ANN) [10].
The list is in no way complete, nor the results can be generalized in our opinion. In order to better frame the following results and comparisons, we provide in this section a short description of each method.

Deviation of the measured field with respect to the nominal value due to different deformation parameters on probes at section #4, lying in the allowed region. All other probes behave similarly.

Left: Structure of the S matrix considering all measurements (blue) and neglecting those below the uncertainty level for deformations parameters at the highest allowed value. Right: distribution of singular values for both “red” and “blue” matrices.
TR: this is probably the best-known regularization method, and bases on the minimization of a linear combination of the discrepancy and of the solution vector in a suited norm, the usual choice being L
2 norm. The resulting formulation can be stated as: TSVD: this method is based on the SVD of the matrix, DSVD: in the case of Damped-SVD, instead of neglecting the contribution of higher order singular vectors, the corresponding Fourier coefficients are weighted by a damping term: CLSQ: as noted above, the resolution of (6) using the plain SVD (equivalent to least squares minimization of discrepancy for over-determined problems) leads to inaccurate results, at least for ill conditioned problems such as the one at hand. If a reasonable bound δ can be determined for some norm of the parameters array DP: the CLSQ approach relies on some estimate for the CG: the conjugate gradient algorithm, applied to the unregularized equation, transformed into normal form 𝜈M: the 𝜈-method aims explicitly to slowing the convergence of CG algorithm, in order to make the solution ART (Kaczmarz method): the solution B-ANN: although in the authors’ opinion deep-learning approaches appear quite promising for estimation tasks, just a standard ANN with sigmoidal activation functions and a single hidden layer has been considered in this study. The training paradigm is a variation of the classical Levenberg-Marquardt called “Bayesian regularization” [10].
For the sake of exposition, in the following we will refer to a circular coil, with a radius R coil = 8 m, a WP of 5 layers of 5 conductors each (N WP = 25), fed by a DC current of 1 kA. We will consider two classes of deformations, local and global. Global deformations are radius increase/decrease along x and y axis (an ellipticization, defined by 𝛾 x and 𝛾 y parameters, with a bound of ±30 mm), tilt around y axis (θ y parameter, with a bound of ±0.15°) and rotation around z axis (θ z , required to generalize the ellipticizations and tilts). In order to define local parameters, let us introduce the concept of “control point”. The coil shape can be defined using a “WP centerline”, describing the overall geometry of the coil (a circle in this study), and the positions of the conductors inside the WP at any cross section along the centerline. Any non-circular shape (including the deformations of a circular shape) requires some general curve, e.g. a spline, defined in terms of a collection of points in space, called Control Points (CP). In our study, we considered 10 CP, evenly distributed around the coil. Local parameters can now be defined as radial and vertical displacements of CP (δR k and δz k , k = 1,2…10, with a bound of ±20 mm), plus a rotation of the WP around the centerline at the CP section (θ WPk , with a bound of ±5°). The total number of deformation parameters is then N DOF = 34. The measurement data are provided by 12 tangential probes, evenly distributed in 7 circumferences with a radius R meas = 0.3 m. The centers of circumference are located at 7 points on centerline, distributed only on a 270° angle, to simulate an “exclusion region” on the coil, located near the joint of the inner windings to the current feeder. Probes are affected by a normally distributed uncertainty, with a standard deviation of 0.2% of the full-scale value (20 mT). We have then N meas = 84 measurements to identify the 34 Degrees of Freedom (DOF). As anticipated above, the problem at hand considers the relationship between magnetic field around a coil and the geometry of the latter. As a general rule, this dependence is nonlinear, but when considering just small deformations, the effect on the field map deviations from its nominal configuration can be linearized, as stated in ((5)). Note that the linear dependence has to describe this relationship only within an accuracy not better than the measurement uncertainty to be valid.
Since the probes measure the total field of the magnet (slightly less than 20 mT in the described configuration), but the impact of deformations is much smaller (tens or hundreds of μT), the impact of the uncertainty strongly limits the sensitivity of the measurement system. As a consequence, the linear model is applicable within the tolerance limits introduced above. A second consequence is that any value of deformation parameters less than 5 mm (or 1/4 of the bound) is considered unreliable, since the measurement variation generated by so small deformations is below the uncertainty level.
In Fig. 3 a few examples of measurements dependence from some of the DOFs at one measurement section are reported, showing that a linear model is suited for this analysis. Figure 3c shows in addition that the impact of local deformations is mostly limited to measurement sections neighboring the control section where the CP is defined.

Picard condition for the full matrix (a), excluding non-detectable DOFs (b), also DOFS in exclusion area (c) and for detectable local DOFs only (d).
The sensitivity matrix
The filtered matrix still shows a few columns of zeros, indicating that some DOFs (namely, those related to rotations and those describing local deformations in the excluded area) are not detectable using the proposed measurements. If columns corresponding to non-observable DOFs are removed, the corresponding matrix still shows a large conditioning number, indicating the presence of multiple solutions. This is due to the possibility of obtaining global ellipticization using suited combinations of local radial displacements. If we could exclude also global DOFs, the corresponding matrix would have a conditioning number equal to 10.4 and full rank. On the other way, in the following we will keep global DOFs, as the main focus in this study is the possibility to keep all detectable DOFs, comparing different regularization schemes. The behavior of Fourier coefficients with respect to corresponding singular values (discrete Picard condition [9]) is reported in Fig. 5, for the different matrices considered insofar, and for measurements corresponding to a random (yet typical) set of deformations. Note that when considering only DOFs associated sections in the allowed area (instrumented sections, meaning that measurements are available on the corresponding section), number of singular values σ i larger than the corresponding Fourier coefficients |u i m i | reduces markedly.
All the considered different regularization schemes do possess some parameter that must be optimally chosen. By using GCV approach for direct method, the results in Table 1 are obtained, for a representative test case. Different cases do provide quite similar results. As concerning iterative methods, the selection of the optimal iteration index k ∗ has been done by graphical inspection of surface plots of DOFs vs. the iteration number (see an example for ART in Fig. 6). Results are also reported in Table 1.

Different DOFs estimates from ART for increasing number of iterations. The reference values of DOFs are the same as for Table 1.
DOFs reconstructions for a test case, using the different regularization schemes
From a comparative analysis of the results, it is possible to note that the unregularized SVD is not able to recover deformations, while the classical Tikhonov approach achieves a reasonable estimation of deformed geometry. Also iterative approaches manage to deal with uncertainties, but with larger final errors. The above cited possibility of obtaining “elliptical” magnets either using global 𝛾 x, y parameters or by combinations of local δR k ones reflects in a significant error bar on both 𝛾 x and 𝛾 y .
The results considered up to now are obtained from numerically generated measurements, using the MISTIC code, based on (2)–(3) [6]. Although MISTIC considers the nonlinear relationship between geometrical DOFs and magnetic field, an inverse crime issue is still present. Consequently, we used a 3D FEM model to generate measurements with a different numerical approach. Allowed deformations in the FEM model are 𝛾
x
, 𝛾
y
and θ
y
. In the proposed approach, tilts have been removed from allowed DOFs, but a tilted magnet can still be represented using local deformations

Sketch of the deformed (blue) and nominal (grey) coils used for FEM simulations. Left: ellipticization, Right: tilt. Deformations are amplified for the sake of readability. Measurement circumferences are also reported (thin lines across grey coil).

Comparison of numerical measurement generated by FEM model for deformed coils and by MISTIC for nominal coil. Left: Ellipticization, Right: Tilt. For both cases, the difference is above the uncertainty threshold, but the model error ϵ mdl is much higher.
In this paper we have considered the regularization of an inverse problem typically encountered in the tolerance assessment of high field magnets at the end of production process from external magnetic measurements. The motivation of this work are in the feasibility analysis for a magnetic survey system to monitor tolerances in the manufacturing of toroidal field coils for the ITER tokamak [20]. The main characteristics of this class of estimation procedure is the relatively small amplitude of the “relevant” signal, which is the difference of field map with respect to the design one, due to very small deviations of the built magnet from the reference design. As a matter of fact, the useful signal is hidden in the much stronger main field, obliging the probes to adopt a full scale suited to measure the full field, and driving as a consequence the absolute value of uncertainty to values comparable to useful signal also in the case of very sensitive probes. The second issue is the unavailability of a “reference” map, generated by a “design” magnet, since the manufacturing process, whose tolerances we are trying to assess, is already pushed at its best in the case of high-performance magnets. A further consideration must be done on the choice of deformation parameters. In this study, we have adopted a realistic description of the magnet geometry, as typical for magnets manufacturers, which lead to a non-unique definition of some deformed configurations. The adoption of suited regularization schemes allows us to deal with such redundancy, at least in the case of self-generated data. In the case of “measurements” simulated using a different approach, the regularized estimation procedure was able to detect the “nature” of the deformations (vertical or radial), but not to isolate global deformation parameter from local ones. The comparison of results achieved using the same model for deformed and nominal configurations and those achieved when the models were different shows that the availability of a model of the nominal magnet able to describe accurately the actual device (and not its numerical model) is a key issue for the success of the estimation.
DOFs reconstructions for FEM generated measurements, using Tikhonov scheme
Notably, the adoption of machine-learning based approach (an artificial neural network with sigmoidal activation functions, trained with a probabilistic scheme) lead to poor results, in spite of the relevant computational effort required to train the network. In our opinion this indicates that the regression model for this class of approaches must be carefully chosen, together with the examples in the data set used to train the network.
Footnotes
Acknowledgements
This work was partially founded by ENEA-Euratom-CREATE association, and partially founded by Dept. of Engineering, Univ. della Campania “Luigi Vanvitelli”. Authors wish to thank Dr. Chiariello for his help, and Dr. Portone, from Fusion for Energy, and Dr. Bargiacchi from ASG superconductors S.p.A., for the useful discussions about the measurements on a real coil.
