A Magnetic Field Camera for Real-Time Subsurface Imaging Applications
Andriyan B. Suksmono, Donny Danudirdjo, Antonius D. Setiawan, Rizki P., Prastio, Dien Rahmawati

TL;DR
This paper presents a real-time magnetic field imaging device using an array of magnetometers, capable of visualizing subsurface objects and power-line currents with high spatial and temporal resolution.
Contribution
The authors developed a portable magnetic field camera that provides real-time, high-resolution imaging of magnetic field distributions for subsurface and electrical applications.
Findings
Successfully mapped hidden objects using magnetic field images
Demonstrated imaging of power-line currents at 50 Hz
Achieved real-time visualization with high spatial resolution
Abstract
We have constructed an imaging device that capable to show a spatio-temporal distribution of magnetic field intensity in real-time. The device employs a set of AMR (Anisotropic Magneto Resistance) 3-axis magnetometers, which are arranged into a two-dimensional sensor array. All of the magnetic field values measured by the array are collected by a microcontroller, which pre-process and send the data to a PDU (Processing and Display Unit) implemented on a smartphone/tablets or a computer. An interpolation algorithm and display software in the PDU present the field as a high-resolution video; hence, the device works as a magnetic field camera. In the experiments, we employ the camera to map the field distribution of distorted ambient magnetic field induced by a hidden object. The obtained image of field shows both the position and shape of the object. We also demonstrate the capability of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A Magnetic Field Camera for Real-Time
Subsurface Imaging Applications
Andriyan B. Suksmono1,2, , Donny Danudirdjo1, Antonius D. Setiawan3,
Rizki P. Prastio1, and Dien Rahmawati1
Manuscript received MMMM DD, YYYY; revised MMMM DD, YYYY; accepted MMMM DD, YYYY. Date of publication MMMM DD, YYYY; date of current version MMMM DD, YYYY. Corresponding author: A.B. Suksmono (e-mail: [email protected]). Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org. Digital Object Identifier XX.XXXX/XXXX.XXXX.XXXXXXX 1School of Electrical Engineering and Informatics, Institut Teknologi Bandung, Bandung 40132, Indonesia
2ITB Research Center on ICT (PPTIK-ITB), Institut Teknologi Bandung, Bandung 40132, Indonesia
3School of Electrical Engineering, Telkom University, Bandung 40257, Indonesia
Abstract
We have constructed an imaging device that capable to show a spatio-temporal distribution of magnetic flux density in real-time. The device employs a set of AMR (Anisotropic Magneto Resistance) 3-axis magnetometers, which are arranged into a two-dimensional sensor array. All of the magnetic field values measured by the array are collected by a microcontroller, which pre-process and send the data to a PDU (Processing and Display Unit) implemented on a smartphone/tablets or a computer. An interpolation algorithm and display software in the PDU present the field as a high-resolution video; hence, the device works as a magnetic field camera. In the experiments, we employ the camera to map the field distribution of distorted ambient magnetic field induced by a hidden object. The obtained image of field shows both the position and shape of the object. We also demonstrate the capability of the device to image a loaded powerline cable carrying a 50 Hz alternating current.
Index Terms:
magnetic camera, magnetic imaging, subsurface imaging, digital compass, magnetometer, bilinear, bicubic, AMR (anisotropic magneto-resistance), GMR (giant magneto-resistance)
I Introduction
CAMERA is an image-capturing device. Early camera uses chemical substance to record image of an object. In principle, light rays reflected by the object are collected by a lens or a pinhole to form a small planar image, which falls on a negative film that contains a layer of photo-sensitive chemicals. In a photographic development process, the negative film is converted into a positive one on a paper. Modern cameras record the image digitally. The object image that has been projected onto a recording area is measured by a light-sensitive sensor array. The voltage values from the array are then digitized so that an array of numbers representing the image of the object can be stored in a digital format or displayed on a screen. Specialized cameras are usually named after the type of waves they capture, such as infra-red, X-ray, or hyper-spectral cameras.
A distinctive feature of a camera is that all picture elements of the object image (or sequence of images/video) are captured simultaneously, instead of elements-by-elements or pixel-by-pixel. In the latter case, the device is usually called a scanner. A digital camera can also display the captured image instantly. Considering these features, in this paper we will refer to the generic name camera as a device that capable to capture and display a distribution of physical quantity of an object instantly. For optical cameras, the physical quantity is the reflectivity or physical response of the object from impinging lights (including the colors).
In [1], we have constructed a magnetic field imaging system utilizing the built-in magnetometer of a smartphone. To obtain an image that represents distribution of magnetic flux density induced by ambient magnetic field; such as the earth magnetism [2], one has to scan an imaging area and then execute a reconstruction algorithm to obtain entire field values on the area. Therefore, this device is categorized as a scanner, which will be referred to as B-Scanner where B in the name follows the notation of magnetic flux density, which is normally denoted by . Magnetic field scanners have also been employed in geomagnetic survey [3] and industrial testing [4]. Micro-circuitry faults of an IC (Integrated Circuits) can also be detected by magnetic field scanner [5]. A close relative to the magnetic imaging is the eddy-current imaging, which also has been investigated actively by researchers [6, 7, 8, 9, 10].
In magnetic field surveys, one typically uses a highly sensitive sensor solely designed for a research purpose [3]. Nowadays, magnetic field sensors are easily found at low prices. These sensors make use of giant magneto resistance (GMR) [11, 12, 13] or anisotropic magneto resistance (AMR) phenomena, which is the change in resistance of a material due to exerting magnetic field. In contrast to the conventional sensor, such as the proton magnetometer, the GMR/AMR based devices can be implemented as a compact and low cost IC sensors. Most mobile phones today include a built-in magnetometer as one of their standard features.
This paper describes a design and realization of a magnetic field camera or the B-Camera. The proposed B-Camera has a capability to capture and display magnetic field distribution of a region instantly, thanks to an array of magnetometers that measures the field values on a regular grid of the area simultaneously. Then, a reconstruction algorithm interpolates entire values within the observed area and display the result on a screen. We use a similar reconstruction and display subsystems as in the B-Scanner; i.e, data collected by the sensor-array are send to a PDU (processing and display unit); which can be implemented on smartphones, tablets, or computers, through a USB or a Bluetooth port.
The rests of the paper are organized as follows. In Section II, we briefly describe the principle of the proposed B-Camera. The following Section III describes the experiments, including the arrangement, reconstruction of image, and analysis of the results. Section IV summarizes and concludes the paper.
II Materials and Methods
II-A B-Camera: A Magnetic Field Camera
Human eyes cannot sense the presence of magnetic field. To ”see” the magnetic field, one can use iron powder. By pouring the powder onto a sheet of paper which is placed on a top of a magnet, we obtain a picture of magnetic field lines. The flux density of the field is indicated by the density of the lines. More accurate measurement requires the use of a magnetometer, which is usually brought around to scan an area while the field values are recorded. The field distribution can be derived by interpolating to locations within the surveyed area where the values are unknown. For an instantaneous display of the field—as required in a camera, an array of magnetometers is necessary. In [14], a magnetic camera made of Hall-effect sensor has been proposed where magnetic field strength of observed object are captured and displayed as a three-dimensional surface map.
Additionally, we also cannot do focusing to a magnetic field, which normally done in an optical camera by using a lens. Therefore, the field is sensed directly at the corresponding position by a magnetometer. The B-scanner in [1] operates using a predefined grids over an observed area and measures the field at the center of each grid. Dividing the area into grids are equivalent to discretization of the space, whereas the magnetometer of a smartphone in the B-Scanner also gives discretized values of the magnetic field. Simultaneous observation of the field values on the area can be obtained by placing a number of sensors at the center of the grids, which yields an array of magnetometers. At this point, there is a close similarity between the B-Camera and an optical camera.
II-B Construction of The B-Camera
In principle, the B-Camera works like the magnetic field scanner, unless the sensors position are fixed at a regular grid points/array. A block diagram displayed in Fig. 1 shows the construction of the B-Camera.
II-B1 Sensor Array and Multiplexer
The sensor-array performs spatial sampling of the magnetic field on an area, which is achieved by arranging the magnetometers into a two-dimensional array. The minimum spatial sampling size, or the size of a sampling grid, will be related to the dimension of the sensor. Since the present implementation uses a breakout of an HMC5883L magnetometer chip, we set the grid cell size to be . The sensors are arranged into array, so that the total size of the sensed area is .
The HMC5883L sensor can measure magnetic field up to 8 gauss in three axis. The chip employs I2C (IC-to-IC Communication) protocol to communicate with other device, which in this case is a microcontroller. Since all of the sensors have identical fixed address, we employed a 1-to-16 demultiplexer to access the field values of each sensor, which is controlled by four digital channels of the microcontroller. This way, the measured field values can be read sequentially by the microcontroller from each sensor’s data registers.
II-B2 Microcontroller Unit
The main tasks of the Microcontroller Unit are to read the sensors, to do a basic processing, and to send the result to the PDU. We have employed an Arduino microcontroller because of its availability, affordability, and its openness. We read the data through four digital channels of the microcontroller and translate the integer (scaled) field values into a re-scaled proper values in gauss unit. The results are then sent to PDU by using a USB port, if the PDU is implemented on a computer, or by using a Bluetooth channel for the smartphone-based PDU.
II-B3 Communication Unit
We can use either USB port or Bluetooth for communication between the sensor array and the processing unit. When mobility is prioritized, we can use a Bluetooth breakout such as the HC-06. The array data includes the ID of each sensor, the three components of measured magnetic fields , and a flag to indicate the end of a scan, so that the PDU can immediately process the data and display the image when all of the data in the array have already been received.
II-B4 PDU (Processing and Display Unit)
The PDU can be implemented on either a computer or a smartphone/tablet. Present days smartphones, despite of its affordability, have a sufficient computing power and display resolution to be used for this purpose. The main task of the computing part is to interpolate the two-dimensional magnetic field values into a larger size. The purpose of interpolation is to present the user with a high-resolution image/video. We have implemented two interpolation algorithms in our device, i.e. bilinear and bicubic [15, 1]. It has been coded in Java using Android Studio for the smartphone based PDU and by using Matlab for the computer based PDU.
The bilinear method requires four known values obtained by measurements to estimate a field value at a particular point. Based on these known values, the values on desired positions are derived by using linear interpolation. The drawback of the bilinear method is, when the sampling points are sparsely distributed, the constructed field cannot be smoothly interpolated. To obtain a better result, we can use bicubic method that uses 16 neighboring values to estimate unknown values. The interpolation is done by nonlinear function, therefore, a smoother result can be obtained.
The display unit shows magnetic field distribution for each components and the total magnitude. For a given measured field at a discrete point within the surveyed area, where and indicates the row and column number, respectively, the vector of magnetic field is given by
[TABLE]
where are unit vectors to the direction of , , and respectively. The magnitude of the magnetic flux density is given by
[TABLE]
Each of the components and the magnitude are displayed separately by the PDU system. Observation of field components is hardly possible in other imaging modalities, such as radar and optical imaging. It enriches the features which can increase recognition capability of the system.
III Experiments and Analysis
III-A Imaging A Coin with a Smartphone-Based PDU
In this experiment, we have used the B-Camera with smartphone based PDU. The object was a nickel coin (Rp.1000), which possesses a ferromagnetic property. In the first experiment, the coin was located at the center of the array, as shown in the left part of Fig. 2(a). The magnitude field distribution expressed in Eq.(2) was displayed on a smartphone screen shown in the right part of Fig.2(a). The image shows a circular distribution of the field, which is strong at the center of the array. This image is consistent with the position and shape of the object.
In the second experiment, the coin was located at the corner of the array. It should be noted that in a normal usage, the array looks downward; therefore, the left-right positions are exchanged. Left part of Fig. 2(b) shows the position of the object on the array, whereas the right part shows the field distribution. This figure shows image of the object as expected, indicating that the device have worked properly.
III-B Observation of a Hidden Object
In this experiment, an object (a 9 V dry-cell battery) was located on a top of a book stack. We have used B-Camera with a computer based PDU. The microcontroller (Arduino) was connected to a USB port of the computer, where a Matlab program was running. By using the Matlab, we can obtain a better color contrast easily, which enhanced the display of the magnetic field distribution. The purpose of this experiment was to show that a hidden object separated by a thick wall can be detected (and imaged) by the B-Camera.
Fig. 3 shows (a) experiment setting (test-range), (b) field distribution before an object was put, (c) field distribution after the object has been placed on top of a book stack. The ruler in Fig. 3 (a) indicates that the distance between the sensor array to the object is around . By comparing the field distribution without the object in Fig. 3 (a) with the one with an object shown in Fig. 3 (b), we can see that the field has been changed and therefore the B-camera was capable to sense the field of an object located behind a thick wall. The colors represent the field strength in gauss (G), whose values are indicated in the color bar.
III-C Imaging A Loaded Powerline Cable
In this experiment, we have measured the magnetic field induced by current in a loaded 50 Hz powerline cable. Since the cable (wire) was much longer than the length of the array, the induced magnitude of magnetic field strength by a current at an array sensor located at a distance from the center of the cable is given by
[TABLE]
where is the permeability of the air (free space). The field strength is proportional to the current and inversely proportional to the distance between the wire and the sensor. Since the array is planar, whereas the cable is located above the center of the array, the field will be stronger at the center of the array and weaker at the edge.
Fig. 4 shows (a) the experiment setup and spectrum of the data, and (b) the observed results for various loads. The sampling rate of the magnetometer is set to 150 Hz for all field components. Spectrum of the original data displayed in the right part of Fig. 4(a) shows a peak at 50 Hz. The collected data were filtered, so that only the 50 Hz component of the data were extracted.
Magnitude distribution of the magnetic fields for four loads, i.e. , , , and incandescent lamps, are displayed in Fig. 4(b). The figures shows that the flux density increases with the increasing power dissipation of the loads, which can be understood since for a given voltage , the current is proportional to the power. We also observed that the flux density is strong at the center and weaker at the edge of the array. These results are consistent with Eq.(3).
IV Conclusions and Further Directions
A magnetic field camera has been constructed. The array sensors are built from digital magnetometers, consisting of elements. The camera has been demonstrated to map the magnetic field distribution of ferromagnetic objects behind a surface, and to display the distribution at an instant time. Additionally, the high sampling rate of the sensors also allows the camera to measure and map the distribution of magnetic field near a loaded 50 Hz powerline cable.
Acknowledgements
This work has been supported by the ITB-Asahi Glass Foundation Grant of Research 2018.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] A.B.Suksmono, D. Danudirdjo, A. Setiawan, and D. Rahmawati, “Magnetic subsurface imaging systems in a smartphone based on the built-in magnetometer,” IEEE Transactions on Magnetics , vol. 53, p. 3200405, 2017.
- 2[2] J. Larmor, “Possible rotational origin of magnetic fields of sun and earth,” Electrical Review , vol. 85, p. 412, 1919.
- 3[3] N. Mariita, “The gravity method,” Short course II on surface exploration for geothermal resources , pp. 1–9, 2007.
- 4[4] A. Orozco, J. Gaudestad, N. E. Gagliolo, C. Rowlett, E. Wong, A. Jeffers, B. Cheng, F. C. Wellstood, A. B. Cawthorne, and F. Infante, “3D magnetic field imaging for non-destructive fault isolation,” in Proc. ISTFA 2013 , pp. 189–193, 2013.
- 5[5] L. A. Knauss, S. I. Woods, and A. Orozco, “Current imaging using magnetic field sensors,” Microelectronics Failure Analysis Desk Reference , vol. 5, pp. 303–311, 2004.
- 6[6] R. Mc Cary, D. Oliver, K. Silverstein, and J. Young, “Eddy current imaging,” IEEE Trans. Magn. , vol. 20, no. 5, pp. 1986–1988, 1984.
- 7[7] K. Tsukada, T. Kiwa, T. Kawata, and Y. Ishihara, “Low-frequency eddy current imaging using MR sensor detecting tangential magnetic field components for nondestructive evaluation,” IEEE Transactions on Magnetics , vol. 42, no. 10, pp. 3315–3317, 2006.
- 8[8] M. Volk, S. Whitlock, C. H. Wolff, B. V. Hall, and A. I. Sidorov, “Scanning magnetoresistance microscopy of atom chips,” Rev. Sci. Instruments , p. 023702, 2008.
