Next Article in Journal
Heart Rate and Distance Measurement of Two Multisport Activity Trackers and a Cellphone App in Different Sports: A Cross-Sectional Validation and Comparison Field Study
Next Article in Special Issue
Nanostructured Manganite Films Grown by Pulsed Injection MOCVD: Tuning Low- and High-Field Magnetoresistive Properties for Sensors Applications
Previous Article in Journal
Multi-Level Sensing Technologies in Landslide Research—Hrvatska Kostajnica Case Study, Croatia
Previous Article in Special Issue
Magnetic Barkhausen Noise Transient Analysis for Microstructure Evolution Characterization with Tensile Stress in Elastic and Plastic Status
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Drift-Free Integration in Inductive Magnetic Field Measurements Achieved by Kalman Filtering

1
Department of Electrical Engineering and Information Technology, University of Naples “Federico II”, 80100 Naples, Italy
2
Technology Department, European Organization for Nuclear Research (CERN), 1211 Geneva, Switzerland
3
Department of Applied Science and Technology, Polytechnic of Turin, 10129 Turin, Italy
4
Department of Electronics and Telecommunications, Polytechnic of Turin, 10129 Turin, Italy
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(1), 182; https://doi.org/10.3390/s22010182
Submission received: 30 November 2021 / Revised: 15 December 2021 / Accepted: 23 December 2021 / Published: 28 December 2021

Abstract

:
Sensing coils are inductive sensors commonly used to measure magnetic fields, such as those generated by electromagnets used in many kinds of industrial and scientific applications. Inductive sensors rely on integrating the output voltage at the coil’s terminals in order to obtain flux linkage, which may suffer from the magnification of low-frequency noise resulting in a drifting integrated signal. This article presents a method for the cancellation of integrator drift. The method is based on a first-order linear Kalman filter combining the data from the coil and a second sensor. Two case studies are presented. In the first one, the second sensor is a Hall probe, which senses the magnetic field directly. In a second case study, the magnet’s excitation current was used instead to provide a first-order approximation of the field. Experimental tests show that both approaches can reduce the measured field drift by three orders of magnitude. The Hall probe option guarantees, in addition, one order of magnitude better absolute accuracy than by using the excitation current.

1. Introduction

1.1. Problem Statement

Sensing coils, also called pick-up coils, are among the most commonly used sensors for measuring a time-changing magnetic field owing to their low cost, linear behavior, and easy calibration. Vast literature is available on their design, fabrication, characterization, and operation [1,2,3,4,5]. Sensing coils consist of a series of conducting loops linking the magnetic flux and exhibiting a voltage at their terminals proportional to the time derivative of the flux, according to Faraday’s law of induction. The average magnetic flux density over the coil can be calculated by integrating the voltage measured at the terminals, assuming that the input impedance of the Data Acquisition System (DAQ) is infinite:
B ( t ) = B 0 + 1 A c 0 t v ( τ ) d τ ,
where B 0 is the field value at the beginning of the integration, A c the total area of the coil, and v the measured voltage.
The main drawback of this method consists of a magnification of low-frequency noise components that result in a drifting integrated signal. These components can be characterized as a flicker 1 / f noise originating from intrinsic sources in the electronic components such as the operational amplifiers’ bias currents and input offset voltage, temperature variations of the electronics, thermocouple voltages along the signal path, and other non-linear effects [6]. In general, the measured voltage v can be decomposed in the sum of two terms: the measurand signal v s and an offset term v o superimposed to v s , causing drift.
v ( t ) = v s ( t ) + v o ( t ) .
Achieving drift-free integration means suppressing or making the integrated v o negligible with respect to the integral of the measurand signal. Figure 1 provides a visual representation of the problem in the domain of synchrotron electromagnets, which are typically operated in a cyclic fashion between a field flat-bottom and a flat-top, where the current is kept constant.
Ideally, the coil voltage signal should be zero on these plateaus; in truth, this is often the case only on their final part, when any eddy currents induced during the preceding ramp have decayed. It can be observed that the voltage offset varies much more slowly than the signal of interest so that in a first approximation, it can be considered as constant during the entire integration period, resulting in a linearly drifting output of the measured field B (see Figure 1). This is the principle of the most basic drift correction algorithms.
As voltage integration applies to many different domains such as particle accelerators, nuclear fusion engineering or inertial sensors, and integration’s drift is intrinsically present, a vast literature is available where hardware or software-based drift reduction techniques are presented.

1.2. Hardware-Based Techniques

Hardware mitigation of the drift was achieved in [7], where a hybrid analog-digital integrator was proposed to integrate data from accelerometers in earthquake monitoring. The integration was performed using voltage-to-frequency conversion (VFC) implemented in two 12-bit counters, and the drift was corrected by a feedback loop of the integrated signal. The technique presented a good performance on a short time scale (10 s), but it is intrinsically affected by problems of deadband typical of VFCs. In [6], 1 / f noise was smoothed in an analog integrator module by adopting different solutions such as guard rings and polypropylene capacitors to reduce the impact of leakage currents. Moreover, a temperature control module was implemented on-board to keep the temperature variations below 0.5 °C, and it suppresses the temperature effects on the bias currents and voltages of the operational amplifiers. In this manner, the integrator drift was kept within 3% on a time scale of 1000 s. Another technique is presented in [8], where a custom Σ - Δ Analog-to-Digital Converter (ADC) using Correlated Double Sampling (CDS) technology and autozero amplifiers was designed with the purpose to mitigate the ADC offset and 1 / f noise.
In fusion engineering applications, inductive magnetic field measurements are used for diagnostic monitoring of the magnetic field interacting with the plasma. For this kind of measurement, digital integrators are generally used. The challenging requirement adopted for the electronics design is to keep the drift below 0.12 ppm/s. In [9], the drift was mitigated by using two integrator modules alternatively switched and reset. Another widely used approach [10,11] is the chopping technique, which consists of reversing the polarity of the signal at the input terminals and by integrating the rectified signal, achieving a drift of 0.05 ppm/s.
In particle accelerator applications such as iron-dominated synchrotron magnets, real-time monitoring of the magnetic field is critical for the control of the particle beam, and a very demanding accuracy of the order of a few 10 5 T is required. At CERN, this is realized by using the so-called B-train systems where integrator drift correction was implemented by using short integration periods (maximum of a few seconds) combined with reference markers based on Nuclear Magnetic Resonance (NMR) or Ferrimagnetic Resonance (FMR) technology [12,13,14,15]. In this manner, a drift of about 2.3 ppm/s over a time scale of 1–2 s is achieved. Afterward, the drift is zeroed at the beginning of every cycle by resetting the integrator.
All of these hardware-based solutions need custom-made acquisition hardware. Techniques such as CDS or chopping can also be implemented on commercial hardware, but they show unsatisfying performance. Chopping introduces high-frequency harmonics due to switching. These harmonics are filtered due to the limited bandwidth of commercial hardware, resulting in a filtered switching input and a corrupted rectified signal. CDS can amplify drift due to interchannel differences on the same DAQ board. On the other hand, the solution based on reference markers presents the best performance so far (5 ppm repeatability), but it is the most expensive, and the installation of the markers might not always be possible due to mechanical constraints.

1.3. Software-Based Techniques

Software algorithms for correcting drift rely on the a priori knowledge of the signal properties and the acquisition chain. For instance, the method of the envelope is used in applications, such as rotating coil measurements, where the signal is known a priori to be periodic [16,17,18]. In [16], in a toroidal ring sample permeameter system, the offset value is updated in correspondence of the flat tops and bottoms of the excitation current waveform, where the induced voltage is expected to be zero. In [19], an a priori identification of the acquisition chain was performed to identify the thermal and electrical dynamic models of the measurement setup and de-trend the output voltage of a toroidal ring-sample permeameter.
Software correction techniques are relatively inexpensive, but they rely on assumptions of the signal properties that might result in artifacts or loss of accuracy.

1.4. Proposal

Inertial sensors have in common the problem of integration drift with magnetic sensors. The problem is even more critical in this domain because data from accelerometers have to be integrated twice to measure the position. In this context, sensor data fusion, which combines data from a network of different sensors of different technologies such that the resulting information has lower uncertainty than the single measurement sources individually, is the state-of-the-art approach. In [20], a linear Kalman filter was implemented in an algorithm of 3D orientation detection by combining data from three sensors (a tri-axis accelerometer, a tri-axis gyroscope, and a tri-axis magnetometer). Other examples of sensor fusion applications are reported in [21,22,23,24,25,26,27,28,29], where sensor data fusion was implemented using neural networks or Bayesian inference. However, such an approach of combining data from different sensors has never been adopted so far for inductive magnetic measurements.
This paper shows how sensor data fusion in magnetic measurements can enhance sensing coil accuracy by strongly reducing integrator drift. Two case studies are presented concerning the measurement of the magnetic field inside a dipole magnet. The first one consists of a scenario where data from a Hall probe are combined with data from a sensing coil. The sensor fusion between a Hall sensor and a sensing coil represents an ideal test case because the coil output is the time derivative of the Hall probe output; therefore, sensor fusion can be easily implemented by using a linear first-order Kalman filter. The second one shows a proof-of-concept, where the measurement of the magnet excitation current is used as an inexpensive replacement of the Hall probe. An implementation of the correction algorithm that can be applied either offline, i.e., to post-processing data previously acquired, or online in a real-time measurement context is discussed. In Section 2, the general algorithm, the experimental setup and the two case studies are presented. Section 3 presents experimental results, which are then discussed in Section 4.

2. Measurement Method and Data Fusion Algorithm

2.1. General Sensor Data Fusion Algorithm

The data fusion algorithm consists in both cases of a linear Kalman filter. Kalman filters are based on a process model describing the evolution of the state at the instant k from the one at the instant k 1 . In the linear case, the equations of the Kalman filter are in the following form.
x k = F x k 1 + C u k + w k ,
z k = D x k + q k .
The first equation is the state-space equation, where x is the vector of the state variables, F is the state-transition matrix, u is the input vector, C is the input-matrix, and w is the process noise vector. The second equation is the measurement equation, where measurement z is affected with noise q . D is the measurement matrix. w and q are assumed to be zero-mean Gaussian noise and possess variance σ w 2 and σ q 2 , respectively.
The algorithm consists of two steps: prediction and update. In the prediction phase, the state at the instant k is predicted from the state at instant k 1 , and the error variance is computed:
x ^ k = F x ^ k 1 + + C u k
P ^ k = F P ^ k 1 + F T + σ w , k 2
where the superscripts + and − indicate posterior and prior, respectively. The hat symbol indicates an estimate. P k is the state error covariance matrix at instant k and represents the estimate error. The update step consists in the following:
  • Comparison of prior estimation with and evaluation of the following: y = z k D x ^ k ;
  • Calculation of the Kalman gain: K k = P ^ k D T ( σ q , k 2 + D P ^ k D T ) ;
  • Update of the state vector estimate: x ^ k + = x ^ k + K k y ;
  • Update of the error covariance matrix: P ^ k + = ( I K k D ) P ^ k , where I is the identity matrix.

2.2. Experimental Setup

The two case studies were carried out by using the same experimental setup, as shown in Figure 2, in a C-shaped dipole electromagnet used routinely at CERN for sensor calibration. The sensing coil and the Hall probe were combined on a single printed circuit board (PCB), as shown in Figure 3, to ensure that both are exposed to the same magnetic field, namely the component normal to the PCB, and to enable their simultaneous calibration against an NMR teslameter reference. The sensing coil is physically realized with 161 conducting loops printed on a 16-layer board. The effective area of the coil is A c = 0.059394 m 2 , calibrated by flipping the coil repeatedly in a 1 T magnetic field. The coil calibration uncertainty is σ A = 2.29 × 10 6 m 2 , or about 40 ppm in relative terms.
The same sensing coil is used in the second case study, where the Hall probe output is ignored and replaced by the magnet’s current measurement.
The magnet was powered by employing a 120 V/500 A current-controlled power converter controlled by a Function Generator Controller (FGC) [30]. The current was measured using a DC Current Transformer (DCCT) with a current-to-voltage ratio of 100 A/V. The hardware used for the acquisition was a commercial NI DAQ PXI 4462 and it possesses four independent AI channels, each one equipped with a 24-bit Σ - Δ ADC. The Hall probe is an Arepoc HHP-NP 2067, possessing a nominal sensitivity of 223.8 mV/T.
The experiments were performed by ramping the magnet’s current cyclically between 0 and 320 A, corresponding to about 1.012 T. Each ramp is followed by a plateau, where the current level is kept constant for 60 s. Prior to the tests, the magnet was pre-cycled 10 times between 0 and 320 A to bring it on a stable hysteresis loop, wipe out the history of past magnetization, and obtain a repeatable magnet response within 8 ppm, as verified independently via NMR measurements. Three ramp rates were chosen, 3.2 A/s, 32 A/s, and 100 A/s, to validate the proposed approach on different measurement time scales. The signal-to-noise ratio (SNR) of the coil output signal on the ramps scales with the ramp rate and is, therefore, two orders of magnitude higher at 100 A/s, although this does not impact the measured field drift rate appreciably. Figure 4 shows in detail the evolution of the excitation current, the field measured by Hall probe, and the induced voltage on a plateau when a ramp rate of 100 A/s is used. The Hall probe measurement shows clearly an exponential transient with a 120 ppm amplitude and a time constant τ e 10 s , which can be ascribed to the decay of eddy currents arising during the last ramp. As explained in [31], eddy currents in electromagnets can screen or enhance the field locally depending on their distribution in the bulk of the iron yoke, the end region, and in nearby metallic support structures. Indeed, it was experimentally verified that the amplitude and sign of the transient depend strongly on the probe’s position inside the magnet gap. In the figure, the current and field were normalized with respect to the peak value to highlight the dynamic character of the phenomenon. For the purposes of integrator drift estimation and considering the small amplitude of the transient, it is considered in the following that when a time of 2∼3 τ e has elapsed at the end of a current ramp, the stability of the magnetic field should match that of the excitation current.

2.3. State-Space Equation

In both case studies the state-space equation is the same and represent the model of a numerical integrator:
x k = B k = B k 1 + 1 A c ( v k + v k 1 ) 2 T s ,
where the following is the case.
F = 1 ,
C = T s 2 A c ,
u k = v k + v k 1 .
u k is expressed as the sum of the voltages at the instants k and k 1 because the trapezoidal rule for the integration was adopted. T s is the sampling time. Given the presence of only one state variable, the matrices of the general model are represented by a scalar.
The prior variance of the model and the measurement variances were calculated by propagating uncertainty according to the ISO GUM approach [32] by taking into account type A and type B uncertainty sources. In particular, uncertainty σ w , k of the integrated field increment B k B k 1 corresponding to the process model noise in Equation (3) was obtained by propagating uncertainty in Equation (7) and is given by the following:
σ w , k 2 = T s 2 4 A c 2 σ A 2 A c 2 ( v k + v k 1 ) 2 + ( σ v , k 2 + σ v , k 1 2 ) ,
where σ v , k = ( 2.05 + 0.003 v k ) mV is the uncertainty of the data acquisition system used as specified by the datasheet. In this application, the uncertainty associated with the sampling rate is extremely low and was neglected.
When the Kalman filtering is used, the prior uncertainty of the output value B k is provided by Equation (6) and becomes the following.
P ^ k = P ^ k 1 + + σ w , k 2 .

2.4. Case Study 1—Data Fusion Algorithm of Sensing Coil and Hall Sensor Measurements

When the output of the Hall sensor is used to run the fusion algorithm, the measurement equation is the following:
z k = B H , k = B k + q k ,
where B H k is the measurement performed by the Hall probe, and D = 1 . The following values were used to run the algorithm:
  • Initial model value B 0 = 2.27 mT, evaluated by Hall probe;
  • Hall sensor measurement uncertainty σ q , k = ( 9.02 + 0.003 B H , k ) mT;
  • Initial model uncertainty P ^ 0 = σ q , 0 = 9.02 mT.

2.5. Case Study 2—Data Fusion Algorithm of Sensing Coil and Excitation Current Measurements

The relationship between excitation current and the magnetic field is non-linear due to different effects such as ferromagnetic hysteresis, eddy currents, geometry dependencies, etc. Given the size of the sensing coil, geometry dependency can be neglected, and the field-to-current relationship at instant k can be modeled as follows:
B k = I k g + f ( I k , I k 1 , I k 2 , . . . ) ,
where the first term is a first-order approximation of the current-to-field relationship and the second one is the non-linear part, dependent on the past values of the current and its time derivative. Equation (14) is approximated as follows:
B k I k g ,
and, therefore, for this case study, the following is the case:
z k = I k g + q k ,
where D = 1 / g . This approximation was necessary in order to keep using a linear Kalman filter. g is nominally 316 A/T for the magnet under test. The non-linear part was modeled as a disturbance source determining an increase in the uncertainty of g. The following values were used:
  • Initial model value B 0 = 0, assuming no information on the remanent magnet field is available;
  • Measurement uncertainty σ q , k = ( 0.018 + 0.006 I k g ) mT;
  • Initial model uncertainty P ^ 0 = σ q , 0 = 0.018 mT. The systematic error arising from not considering the remanent magnet field was not taken into account;
  • Current-to-field ratio uncertainty, σ g = 1.86 A/T.

3. Experimental Results

The result of the two Kalman filters was compared with two feed-forward drift correction algorithms, which take into account the prior knowledge that the field must be constant when the excitation current is constant:
  • FFA1—Initial zero-reading average: In this case, the offset voltage v 0 is estimated by averaging the coil output over a 60 s interval before the actual measurement, when the excitation current is set to zero, which implies that the voltage should be ideally zero. The offset is then assumed to be constant for the entire duration of the measurement, which corresponds to assuming a linear drift.
  • FFA2—Online updating algorithm: This algorithm is proposed in [33], and it was adapted to run online. The offset voltage is modeled as a piece-wise constant function, where the estimate is updated periodically by averaging over intervals of duration τ a = 1 s once the magnetic field reaches a stable plateau (see Figure 1), after the eddy current transient is fully damped. For the experiments presented in this paper, the duration of the eddy current transient at the end of each current ramp is 20 s at 3.2 A/s, 25 s at 32 A/s, and 30 s at 100 A/s, and the stable plateau duration Δ t is, respectively, 40 s, 35 s, and 30 s. In this manner, the offset is assumed to remain constant on ramps and during transients.
The voltage offset estimated by the four different algorithms is shown for the three tested ramp rates in Figure 5 and Figure 6 for case study 1 and 2, respectively, while a summary of its average and range is provided in Table 1. A moving average over a time window of 1 s was applied to the voltage offset estimated by Kalman filtering to smooth out non-physical variations and obtain a clearer comparison with the output of two feed-forward correction algorithms.
The uncorrected integrated field is plotted in Figure 7 as a baseline, alongside the results obtained by applying the two feed-forward correction algorithms FFA1 and FFA2 and the two Kalman filters CS1 and CS2. The three columns of plots represent different ramp rates, while the three rows of plots show increasing magnification levels to highlight better the flatness of the plateaus achieved by different correction algorithms. A zoomed-in view of a detailed comparison between CS1 and CS2 is shown in Figure 8.
Table 2 reports a summary of the measurement results by comparing the two case studies and the two feed-forward estimation algorithms for three different ramp rates. A performance indicator, δ G , was defined to quantify how much the measured field globally drifts during the measurement relative to its initial value:
δ G = d B d t B B = B F B B T B B ,
where B B is the field at the beginning of the first flat-top, B F is the field at the end of the last flat-top, T is the time interval between these two reference values, and d B d t is the global field drift.
The performance of the correction was also assessed in terms of the total uncertainty of the measured field, σ B , k , defined by the following:
σ B , k = P k + ( B k B k C S 1 ) ,
where for CS1 and CS2, P k = P ^ k + , because the a posteriori variance estimated by the Kalman filter is used. For the uncorrected integral and the two algorithms FFA1 and FFA2, P k = P ^ k is used. This means that the uncertainty is not updated at each time step as in CS1 and CS2, and the uncertainty contribution provided by process model noise described in Equation (11) accumulated and increased with time. Considering that the uncertainty calculation only considers a stochastic contribution, a systematic component representing the drift contribution was added. This component was estimated as the difference between the current magnetic field value and the one obtained by the Hall probe-based Kalman filter, considered as reference.
Each algorithm can be characterized by considering the final value on the last flat-top, σ B , e n d . A coverage factor of 2 was applied to obtain the expanded uncertainty corresponding to a 95% level-of-confidence interval (Table 3). The values of σB,end are reported in Table 3.

4. Discussion

At the ramp rate of 32 A/s, the uncorrected field integral drifts globally by about 120 ppm/s or, equivalently, 120 μ T/s, resulting in a 6 % error over the entire duration of the measurement. Similarly to all other test results, this error does not appear to be correlated with the ramp rate; instead, the voltage offset is observed to fluctuate slowly and randomly with time.
All four algorithms provide a roughly comparable voltage offset estimate ranging between −3 and 22 μ V. The simplest algorithm, FFA1, taking information only from a brief initial stretch of data, provides a single estimated value that is generally inconsistent with the mean values obtained with the other algorithms and cannot follow precisely the evolution of low-frequency noise components. In terms of global drift, its error reduction ranges unpredictably from a mere 10 % at 100 A/s to a factor of 15 at 32 A/s. However, even in the best case, the measured field’s uncertainty on the plateaus is poor and in the order of tens of mT.
The online updating algorithm, FFA2, instead provides an average offset estimate in line within 10 % of the Kalman filters. This algorithm results in a much better correction, especially on the plateaus, after the eddy current decay transient, where the offset can be updated regularly; the total uncertainty improves by a factor up to 16 with respect to the uncorrected integral. However, a visible accumulated drift remains between plateaus due to poor estimation on the ramps and during the eddy current decay transient. The drift increases from 2.95 ppm/s at 100 A/s to 55.47 ppm/s at 3.2 A/s, which is due mainly to the longer interval between successive plateaus. At this ramp rate, FFA2 provides no significant improvement with respect to FFA1.
The Kalman filtering algorithm based on the Hall probe measurements (CS1) does not suffer from any of these drawbacks. At all ramp rates, the global drift is better than 0.04 ppm/s, representing an improvement of three orders of magnitude compared to the uncorrected integral. The total uncertainty on the stable part of the plateaus is consistently 65 μ T. Such excellent performance is due to the ability of the filter to capture fluctuations of the offset also on the current ramps and during the eddy current transients, when the estimate provided by FFA2 cannot be updated.
The Kalman filtering algorithm based on excitation current measurements (CS2) provides voltage offset estimates on the plateaus within 0.5 μ V from CS1 and FFA2, which reinforces confidence in these results. However, large voltage spikes, increasing with ramp rate and reaching up to about 500 μ V at 100 A/s, can be observed in correspondences of the ramps in Figure 6. These spikes are nonphysical artifacts because Equation (16), in contrast with Equation (13), does not contain any information about the dynamics of the magnetic field. This results in a systematic error in the magnetic field on the plateaus, which is clearly visible in the bottom row of Figure 7, providing a total uncertainty as high as 667 μ T, i.e., one order of magnitude higher with respect to CS1. Nonetheless, the performance in terms of drift cancellation is very similar to CS1, and the field on the plateaus is stabilized below 0.1 ppm/s, which is also three orders of magnitude better than what is achieved by the two feed-forward algorithms.

5. Summary and Conclusions

In this article, a data fusion approach was proposed to improve the correction of integrator drift in inductive magnetic measurement applications. The approach is based on Kalman filtering, where the model output of the integrator is continuously updated by using data from another sensor, representing directly or indirectly the magnetic field. The first proposed algorithm (CS1) combines the data from a sensing coil and a Hall sensor. The second algorithm (CS2) combines coil data with a field estimation calculated from the excitation current, which may be a useful alternative option whenever an additional magnetic field sensor is not practical. Both algorithms were tested in an experimental setup, representing the conditions typically found in accelerator beamline electromagnets.
Both algorithms effectively suppress the drift by stabilizing the measured field on the final part of magnetic cycle plateaus within 20 ppm on time scales up to 1100 s, closely comparable with the rated stability of the power supply used. In terms of globally observed drift, using a Hall probe allows an improvement of three orders of magnitude down to 0.03 ppm/s compared to an uncorrected drift up to 112 ppm/s. Replacing the Hall probe with the current measurement achieves similar results in terms of global drift reduction; however, systematic errors of the corrected plateau levels one order of magnitude higher up to about 700 ppm. At any rate, the performance of both Kalman filters is two to three orders of magnitude better than simple algorithms based on averaging and subtracting the coil voltage output, such as the ones used routinely in fixed-coil applications at CERN.
The proposed approach has a potentially vast range of applications for improving the accuracy of the characterization and modeling of magnetic devices. In the two case studies reported, Kalman filtering was carried out offline, i.e., in the post-processing phase; however, the algorithm is well adapted to real-time implementation, and it could be potentially very useful for magnetic field control applications in fusion devices and particle accelerators. Some of the aspects on which further work is planned include extending the method to long, slender induction coils such as the ones used to measure the integral field produced by accelerator magnets and developing suitable formulations for non-linear current-to-field relationships (Equation (14)) in order to improve accuracy when only the excitation current can be used. In particular, preliminary investigations showed promising results with respect to the application of recurrent neural networks [34] or more complex neural architectures [35] in terms of representing dynamic magnetic phenomena such as eddy currents and hysteresis. The use of high-precision measurements obtained by the Hall probe-based Kalman filter in a controlled laboratory setting is currently being considered for training a network that will then be used to supplement simple current measurement in a real-time operational context.

Author Contributions

Conceptualization, M.B., M.P. (Mariano Pentella) and V.D.C.; methodology, software, formal analysis, and data curation, M.P. (Mariano Pentella) and V.D.C.; validation, M.B., M.P. (Mariano Pentella) and V.D.C.; Resources M.B.; writing—original draft preparation, M.B., M.P. (Mariano Pentella) and V.D.C.; writing—review and editing, P.A., M.B., S.G., V.D.C., M.P. (Marco Parvis) and M.P. (Mariano Pentella); supervision P.A., M.B., S.G. and M.P. (Marco Parvis). All authors have read and agreed to the published version of the manuscript.

Funding

The APC was funded by CERN.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the authors, upon reasonable request.

Acknowledgments

The authors thank D. De Palma for fruitful discussion and C. Petrone for the design and procurement of the PCB coil.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
VFCVoltage-to-Frequency Converters
CDSCorrelated Double Sampling
ADCAnalog-to-Digital Converter
CERNEuropean Organization for Nuclear Research
NMRNuclear Magnetic Resonance
FMRFerrimagnetic Resonance
ELENAExtra-Low ENergy Antiproton ring
PCBPrinted Circuit Board
FGCFunction Generator Controller
DCCTDC Current Transformer
GUMGuide to the Uncertainty of Measurements
NINational Instruments
DAQDigital Acquisition
SNRSignal-to-Noise Ratio

References

  1. Marconato, N.; Cavazzana, R.; Bettini, P.; Rigoni, A. Accurate Magnetic Sensor System Integrated Design. Sensors 2020, 20, 2929. [Google Scholar] [CrossRef] [PubMed]
  2. Rogacki, P.; Fiscarelli, L.; Russenschuck, S.; Hameyer, K. A rotating-coil scanner for the precise magnetic characterization of superconducting accelerator magnets at ambient temperature. IEEE Trans. Magn. 2020, 57, 1–5. [Google Scholar] [CrossRef]
  3. Arpaia, P.; Buzio, M.; Golluccio, G.; Walckiers, L. In situ calibration of rotating sensor coils for magnet testing. Rev. Sci. Instrum. 2012, 83, 013306. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Arpaia, P.; Caiafa, G.; Russenschuck, S. A rotating-coil magnetometer for scanning transversal field harmonics in accelerator magnets. Sci. Rep. 2019, 9, 1491. [Google Scholar] [CrossRef] [Green Version]
  5. Buzio, M. Fabrication and calibration of search coils. arXiv 2011, arXiv:1104.0803. [Google Scholar]
  6. Zhang, D.; Yan, X.; Zhang, E.; Pan, S. A long time low drift integrator with temperature control. Rev. Sci. Instrum. 2016, 87, 105119. [Google Scholar] [CrossRef]
  7. Gavin, H.P.; Morales, R.; Reilly, K. Drift-free integrators. Rev. Sci. Instrum. 1998, 69, 2171–2175. [Google Scholar] [CrossRef]
  8. Zhou, X.; Duan, Q.; Huang, S. A Sigma-Delta modulator circuit using correlated double sampling. J. Phys. Conf. Ser. IOP Publ. 2021, 1948, 012083. [Google Scholar] [CrossRef]
  9. Liu, D.; Wang, X.; Shen, B.; Qian, J.; Gong, X.; Chen, B.; Miao, G. An analog-digital integrator for EAST long pulse discharge. Fusion Eng. Des. 2021, 165, 112255. [Google Scholar] [CrossRef]
  10. Werner, A. W7-X magnetic diagnostics: Performance of the digital integrator. Rev. Sci. Instrum. 2006, 77, 10E307. [Google Scholar] [CrossRef]
  11. Batista, A.J.; Capella, L.; Neto, A.; Hall, S.; Naylor, G.; Stephen, A.; Sousa, J.; Carvalho, B.; Sartori, F.; Campagnolo, R.; et al. F4E prototype of a chopper digital integrator for the ITER magnetics. Fusion Eng. Des. 2017, 123, 1025–1028. [Google Scholar] [CrossRef]
  12. Amodeo, M.; Arpaia, P.; Buzio, M. Integrator drift compensation of magnetic flux transducers by feed-forward correction. Sensors 2019, 19, 5455. [Google Scholar] [CrossRef] [Green Version]
  13. Grech, C.; Amodeo, M.; Beaumont, A.; Buzio, M.; Di Capua, V.; Giloteaux, D.; Sammut, N.; Wallbank, J.V. Error characterization and calibration of real-time magnetic field measurement systems. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip. 2021, 990, 164979. [Google Scholar] [CrossRef]
  14. Vella Wallbank, J.; Amodeo, M.; Beaumont, A.; Buzio, M.; Di Capua, V.; Grech, C.; Sammut, N.; Giloteaux, D. Development of a Real-Time Magnetic Field Measurement System for Synchrotron Control. Electronics 2021, 10, 2140. [Google Scholar] [CrossRef]
  15. Grech, C.; Avramidou, R.; Beaumont, A.; Buzio, M.; Sammut, N.; Tinembart, J. Metrological characterization of nuclear magnetic resonance markers for real-time field control of the CERN ELENA ring dipoles. IEEE Sens. J. 2018, 18, 5826–5833. [Google Scholar] [CrossRef]
  16. Arpaia, P.; Cimmino, P.; De Vito, L.; Fiscarelli, L. Offset Correction in a Digital Integrator for Rotating Coil Measurements. IMEKO World Congress “Metrology for Green Growth”. 2012. Available online: https://www.researchgate.net/profile/Pasquale-Arpaia/publication/268809025_Offset_correction_in_a_digital_integrator_for_rotating_coil_measurements/links/567dd8e008ae1e63f1e60c9d/Offset-correction-in-a-digital-integrator-for-rotating-coil-measurements.pdf (accessed on 8 May 2021).
  17. Yang, Y.; Zhao, Y.; Kang, D. Integration on acceleration signals by adjusting with envelopes. J. Meas. Eng. 2016, 4, 117–121. [Google Scholar]
  18. Garcia, J.; Rivas, M. A quasi-static magnetic hysteresis loop measurement system with drift correction. IEEE Trans. Magn. 2005, 42, 15–17. [Google Scholar] [CrossRef]
  19. Carducci, C.G.C.; Di Nisio, A.; Attivissimo, F.; Trotta, A. Dynamic error correction for magnetic property measurement. IEEE Trans. Instrum. Meas. 2019, 69, 836–844. [Google Scholar] [CrossRef]
  20. Abyarjoo, F.; Barreto, A.; Cofino, J.; Ortega, F.R. Implementing a sensor fusion algorithm for 3D orientation detection with inertial/magnetic sensors. In Innovations and Advances in Computing, Informatics, Systems Sciences, Networking and Engineering; Springer: Berlin/Heidelberg, Germany, 2015; pp. 305–310. [Google Scholar]
  21. Kocić, J.; Jovičić, N.; Drndarević, V. Sensors and sensor fusion in autonomous vehicles. In Proceedings of the 2018 26th Telecommunications Forum (TELFOR), Belgrade, Serbia, 20–21 November 2018; pp. 420–425. [Google Scholar]
  22. Qiu, S.; Wang, Z.; Zhao, H.; Qin, K.; Li, Z.; Hu, H. Inertial/magnetic sensors based pedestrian dead reckoning by means of multi-sensor fusion. Inf. Fusion 2018, 39, 108–119. [Google Scholar] [CrossRef] [Green Version]
  23. Du, J.; Gerdtman, C.; Lindén, M. Signal quality improvement algorithms for mems gyroscope-based human motion analysis systems: A systematic review. Sensors 2018, 18, 1123. [Google Scholar] [CrossRef] [Green Version]
  24. Chen, C.; Chen, Q.; Li, G.; He, M.; Dong, J.; Yan, H.; Wang, Z.; Duan, Z. A novel multi-source data fusion method based on Bayesian inference for accurate estimation of chlorophyll-a concentration over eutrophic lakes. Environ. Model. Softw. 2021, 141, 105057. [Google Scholar] [CrossRef]
  25. Castellano-Quero, M.; Fernández-Madrigal, J.A.; García-Cerezo, A. Improving Bayesian inference efficiency for sensory anomaly detection and recovery in mobile robots. Expert Syst. Appl. 2021, 163, 113755. [Google Scholar] [CrossRef]
  26. Gullino, A.; Parvis, M.; Lombardo, L.; Grassini, S.; Donato, N.; Moulaee, K.; Neri, G. Employment of Nb2O5 thin-films for ethanol sensing. In Proceedings of the 2020 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Dubrovnik, Croatia, 25–28 May 2020; pp. 1–6. [Google Scholar]
  27. Iannucci, L.; Lombardo, L.; Parvis, M.; Cristiani, P.; Basséguy, R.; Angelini, E.; Grassini, S. An imaging system for microbial corrosion analysis. In Proceedings of the 2019 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Auckland, New Zealand, 20–23 May 2019; pp. 1–6. [Google Scholar]
  28. Nazarahari, M.; Rouhani, H. Sensor fusion algorithms for orientation tracking via magnetic and inertial measurement units: An experimental comparison survey. Inf. Fusion 2021, 76, 8–23. [Google Scholar] [CrossRef]
  29. Parvis, M.; Corbellini, S.; Lombardo, L.; Iannnucci, L.; Grassini, S.; Angelini, E. Inertial measurement system for swimming rehabilitation. In Proceedings of the 2017 IEEE International Symposium on Medical Measurements and Applications (MeMeA), Rochester, MN, USA, 7–10 May 2017; pp. 361–366. [Google Scholar]
  30. Calcoen, D.; King, Q.; Semanaz, P. Evolution of the CERN Power Converter Function Generator/Controller for Operation in Fast Cycling Accelerators; ICALEPCS: Grenoble, France, 2011. [Google Scholar]
  31. Moritz, G. Eddy currents in accelerator magnets. arXiv 2011, arXiv:1103.1800. [Google Scholar]
  32. BIPM; IEC; IFCC; ILAC; ISO; IUPAC; IUPAP; OIML. Evaluation of Measurement Data, Guide to the Expression of Uncertainty in Measurement; Technical report; Joint Committee for Guides in Metrology: Sèvres, France, 2008. [Google Scholar]
  33. Arpaia, P.; Buzio, M.; Bermudez, S.I.; Liccardo, A.; Parrella, A.; Pentella, M.; Ramos, P.M.; Stubberud, E. A superconducting permeameter for characterizing soft magnetic materials at high fields. IEEE Trans. Instrum. Meas. 2019, 69, 4200–4209. [Google Scholar] [CrossRef]
  34. Grech, C.; Buzio, M.; Pentella, M.; Sammut, N. Dynamic Ferromagnetic Hysteresis Modelling Using a Preisach-Recurrent Neural Network Model. Materials 2020, 13, 2561. [Google Scholar] [CrossRef]
  35. Amodeo, M.; Arpaia, P.; Buzio, M.; Di Capua, V.; Donnarumma, F. Hysteresis Modeling in Iron-Dominated Magnets Based on a Multi-Layered NARX Neural Network Approach. Int. J. Neural Syst. 2021, 31, 2150033. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Schematic representation of a synchrotron magnet cycle. The offset voltage v o determines an increasing deviation of the field measurement from the actual value.
Figure 1. Schematic representation of a synchrotron magnet cycle. The offset voltage v o determines an increasing deviation of the field measurement from the actual value.
Sensors 22 00182 g001
Figure 2. Layout of the measurement system.
Figure 2. Layout of the measurement system.
Sensors 22 00182 g002
Figure 3. A picture of the combined field sensors. The Hall probe is the black integrated circuit at the center of the PCB.
Figure 3. A picture of the combined field sensors. The Hall probe is the black integrated circuit at the center of the PCB.
Sensors 22 00182 g003
Figure 4. (Top) Normalized excitation current, Hall probe field measurements (left vertical axis), and induced voltage in the sensing coil (right vertical axis); (bottom) zoom on the central flat-top.
Figure 4. (Top) Normalized excitation current, Hall probe field measurements (left vertical axis), and induced voltage in the sensing coil (right vertical axis); (bottom) zoom on the central flat-top.
Sensors 22 00182 g004
Figure 5. Estimated offset voltage values obtained by Kalman filtering (black), when the field values measured by Hall probe are used in the measurement equation (case study 1) and the two feed-forward offset correction algorithms (FFA1 in blue, FFA2 in orange) plotted for comparison. The corresponding field values obtained by applying the different algorithms can be observed in Figure 7. The flat parts of the FFA2 curve correspond to cycle ramps, where the offset is not updated.
Figure 5. Estimated offset voltage values obtained by Kalman filtering (black), when the field values measured by Hall probe are used in the measurement equation (case study 1) and the two feed-forward offset correction algorithms (FFA1 in blue, FFA2 in orange) plotted for comparison. The corresponding field values obtained by applying the different algorithms can be observed in Figure 7. The flat parts of the FFA2 curve correspond to cycle ramps, where the offset is not updated.
Sensors 22 00182 g005
Figure 6. Estimated offset voltage values obtained by Kalman filtering (black), when the field values estimated from the excitation current are used in the measurement equation (case study 2), and the two feed-forward offset correction algorithms (FFA1 in blue, FFA2 in orange), plotted for comparison. The corresponding field values obtained by applying the different algorithms can be seen in Figure 7.
Figure 6. Estimated offset voltage values obtained by Kalman filtering (black), when the field values estimated from the excitation current are used in the measurement equation (case study 2), and the two feed-forward offset correction algorithms (FFA1 in blue, FFA2 in orange), plotted for comparison. The corresponding field values obtained by applying the different algorithms can be seen in Figure 7.
Sensors 22 00182 g006
Figure 7. Magnetic field values obtained by Kalman filtering (black and green), when the field values measured by Hall probe are used in the measurement equation (case study 1), when the field values are estimated from the excitation current (case study 2), field values obtained by using the two feed-forward offset correction algorithms (orange and purple), and field values when no drift correction is applied (blue). From top to bottom: 1×, 100×, and 10,000× magnification. From left to right: 3.2 A/s, 32 A/s, and 100 A/s.
Figure 7. Magnetic field values obtained by Kalman filtering (black and green), when the field values measured by Hall probe are used in the measurement equation (case study 1), when the field values are estimated from the excitation current (case study 2), field values obtained by using the two feed-forward offset correction algorithms (orange and purple), and field values when no drift correction is applied (blue). From top to bottom: 1×, 100×, and 10,000× magnification. From left to right: 3.2 A/s, 32 A/s, and 100 A/s.
Sensors 22 00182 g007
Figure 8. Comparison of case study 1 and 2 algorithms (black and green, respectively) with the algorithm FFA2 on the last flat-top, when a ramp rate of 100 A/s is applied.
Figure 8. Comparison of case study 1 and 2 algorithms (black and green, respectively) with the algorithm FFA2 on the last flat-top, when a ramp rate of 100 A/s is applied.
Sensors 22 00182 g008
Table 1. Mean and range of the estimated voltage offset v 0 .
Table 1. Mean and range of the estimated voltage offset v 0 .
Ramp RateUnit
3.2 A/s32 A/s100 A/s
MeanRangeMeanRangeMeanRange
FFA13.3-6.8-6.8- μ V
FFA26.0[−1, 14]6.9[1, 16]4.6[−1, 24] μ V
CS16.9[−1, 19]7.2[−3, 17]4.4[−11, 24] μ V
CS26.9[−29, 122]7.2[−129, 412]4.4[−250, 496] μ V
Table 2. Global relative drift values expressed by means of the parameter δ G .
Table 2. Global relative drift values expressed by means of the parameter δ G .
Ramp RateUnit
3.2 A/s32 A/s100 A/s
Uncorrected integral112.14119.9859.90ppm/s
FFA1—Initial zero-reading average59.258.0353.02ppm/s
FFA2—Online updating algorithm55.475.052.95ppm/s
CS1—Kalman filter with Hall probe0.030.040.03ppm/s
CS2—Kalman filter with excitation current0.020.030.08ppm/s
Table 3. Total uncertainty values σ B , e n d defined according to Equation (18).
Table 3. Total uncertainty values σ B , e n d defined according to Equation (18).
Ramp RateUnit
3.2 A/s32 A/s100 A/s
Uncorrected integral194.48104.2360.34mT
FFA1—Initial zero-reading average100.259.3825.97mT
FFA2—Online updating algorithm37.576.535.53mT
CS1—Kalman filter with Hall probe656565 μ T
CS2—Kalman filter with excitation current667533482 μ T
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Arpaia, P.; Buzio, M.; Di Capua, V.; Grassini, S.; Parvis, M.; Pentella, M. Drift-Free Integration in Inductive Magnetic Field Measurements Achieved by Kalman Filtering. Sensors 2022, 22, 182. https://doi.org/10.3390/s22010182

AMA Style

Arpaia P, Buzio M, Di Capua V, Grassini S, Parvis M, Pentella M. Drift-Free Integration in Inductive Magnetic Field Measurements Achieved by Kalman Filtering. Sensors. 2022; 22(1):182. https://doi.org/10.3390/s22010182

Chicago/Turabian Style

Arpaia, Pasquale, Marco Buzio, Vincenzo Di Capua, Sabrina Grassini, Marco Parvis, and Mariano Pentella. 2022. "Drift-Free Integration in Inductive Magnetic Field Measurements Achieved by Kalman Filtering" Sensors 22, no. 1: 182. https://doi.org/10.3390/s22010182

APA Style

Arpaia, P., Buzio, M., Di Capua, V., Grassini, S., Parvis, M., & Pentella, M. (2022). Drift-Free Integration in Inductive Magnetic Field Measurements Achieved by Kalman Filtering. Sensors, 22(1), 182. https://doi.org/10.3390/s22010182

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

Article Metrics

Back to TopTop