Skip to content

A novel approach to detect metallic object on a moving target using wifi radios and deep learning.

Notifications You must be signed in to change notification settings

abdullahaleem/metal-detection-wifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

Metal Detection with Wi-Fi using Deep learning

Intro

by Abdullah Aleem, Abuzar Ahmed and Saad Chugtai.
Lahore Univeristy of Management Sciences (Senior year thesis)


Table of Contents

Introduction

Present metal detection systems for security purposes work on the principle of electromagnetic induction. They have a small coverage area and require dedicated expensive hardware. Also, ionizing radiations of X-Ray are harmful for the skin. Hence, there is a need for a non-obtrusive metal detector which large coverage area.

The basic idea behind the detection of metallic objects using Wi-Fi is that the presence of metal produces changes in the received signal. These changes can then be detected as well as differentiated from non-metal cases. In order to detect the changes in received signal, fine-grained CSI information can be utilized. A custom hardware was designed to collect CSI information which was then processed and classifed used Deep learning.

Related Work

A similar approach to Wi-Fi based metal detection has been proposed in Wi-Metal. However, the system in Wi-Metal requires that the target of interest is not moving. Thus, the robustness of the system while the subject is moving was not tested. As opposed to Wi-Metal, our proposed system has extended work where the targets are moving.

Hardware Design and Experimental Setup

design

Transmitter is configured to send Wi-Fi packets with 1 ms inter-packet delay.It is connected to a pyramidal horn antenna having 9 dBi gain and each receiver node is connected to three omni-directional antennas. Packets are received at receiving nodes after reflecting off the moving subject. At the receiver nodes, CSI is estimated and extracted for preprocessing.

setup

Data Collection

  • We conducted 460 experiments with minimal differences in experimental setup for four people, having different heights and body masses, with and without metal sheet. The walking pace and angles for all subjects were kept almost the same with natural variations only.
  • Experiments were conducted in a basement (42 x 39 ft) and the receiver nodes are put 11.5 ft from the transmitter node.
  • Duration of each experiment was 10 seconds involving a person approaching the transmitter node starting from a fixed position and stopping at another fixed position, 17 ft away.

CSI Extraction was done on the Intel Wi-Fi Wireless Link 5300 802.11n MIMO radios, using a custom modified firmware and open source Linux wireless drivers. It provides channel state information for 30 sub-carrier groups. Each channel matrix entry is a complex number, with signed 8-bit resolution each for the real and imaginary parts. It specifies the gain and phase of the signal path between a single transmit-receive antenna pair.

CSI with Static target

statictargetCSI

What happens to CSI when target moves?

movingtargetCSI

Contrary to the static cases, target motion along a predefined trajectory also induces motion artifacts in received CSI. As a result, the previously differnce in CSI no longer remains.

Data Preprocessing

  • The CSI stream corresponding to each of the 6 antennas is truncated to accommodate for target motion by removing initial and final transients, choosing the middle 5000 recordings.
  • A Gaussian moving average filter removes high frequency noise.
  • A non-overlapping window averages adjacent CSI recordings reducing 5000 recordings down to 250 for each CSI stream.
  • After concatenating CSI data from all antennae, we obtain a CSI matrix of size 250x180 which serves as an input for feature extraction.

preprocessing

Model Used

Instead of manually identifying a better set of features, we resort to utilizing a convolutional neural network (given below) for classification purposes.

model

parameters

Experimental Results

Confusion Matrix and Comparison confusionmatrix

K-fold Cross Validation kfoldresults

Model Accuracy and Loss accuracyandloss

Conclusion and Limitations

Conclusion

  • We have explored the use of commodity WiFi radios for developing a non-obtrusive system for concealed metallic object detection.
  • By collecting data in an experimental setup, we have demonstrated the effectiveness of the framework with a deep CNN classifier achieving an average accuracy of 86.44%.
  • The robustness of the proposed system has been increased by deploying a number of receivers which simultaneously collect the reflected energy from the metallic object.
  • Our system has the potential to significantly increase the coverage area without requiring subjects to pass through a narrowly localized path.

Limitations

  • All the experiments have been conducted with a single metal sheet. Also, during each experiment, there was only one target human either static or in motion. We intend to expand this to work for multiple persons.
  • The system still needs to be tested and validated against variations and uncertainties such as walking speed and angle before a working deployable prototype is ready.
  • Nevertheless, the preliminary results reported above, point to the promise of using Wi-Fi radios for non-obtrusive metal detection systems.

Our work has resulted in submission and acceptance of a research paper to 2018 IEEE Global Communications Conference.

About

A novel approach to detect metallic object on a moving target using wifi radios and deep learning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages